1 2<!DOCTYPE html> 3<html lang="pt-br"> 4 <head> 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 6 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> 7 8 <meta name="description" content="Prefeitura Municipal de Barbacena - Prefeito(a) - Carlos Augusto Soares do Nascimento"> 9 10 <title>Prefeitura Municipal de Barbacena - Prefeito(a) - Carlos Augusto Soares do Nascimento</title> 11 12 <!-- COMPARTILHAR NAS REDES SOCIAIS --> 13 <meta property="og:type" content="website"><meta property="og:url" content="https://www1.barbacena.mg.gov.br/portal/prefeito/13/1"><meta property="og:title" content="Carlos Augusto Soares do Nascimento"><meta property="og:site_name" content="Prefeitura Municipal de Barbacena"><meta property="og:description" content="Biografia 14 15Foi eleito prefeito de Barbacena em 2020 e reeleito prefeito de Barbacena em..."><meta property="og:image" content="https://www1.barbacena.mg.gov.br/fotos/611cb8c4b733ef52ec40c0be9bf5d2a1.jpg"><meta property="og:image:width" content="533"><meta property="og:image:height" content="800"> 16 <!-- CABEÃALHO --> 17 18<style> 19 body { 20 margin-left: 0px; 21 margin-top: 0px; 22 margin-right: 0px; 23 margin-bottom: 0px; 24 width: 100%; 25 height: 100%; 26 27 } 28 29 #e_banner_topo_dinamico { width: 1200px; height: 100px; background: url(/fotos/070d1558b72b847516789011c33ae7fb.png) no-repeat;} 30</style> 31 <!-- CSS --> 32 <link href="/css/estrutura_interna_mobile.css?1786986896" rel="stylesheet" type="text/css"> 33<link href="/css/style.css?1689968118" rel="stylesheet" type="text/css"> 34<link href="/css/style_interna_mobile.css?1689968119" rel="stylesheet" type="text/css"> 35<link href="/css/menu_mobile.css?1689968120" rel="stylesheet" type="text/css" media="screen and (max-width:1000px)"> 36<link href="/css/style_mobile.css?1689968119" rel="stylesheet" type="text/css"> 37<link href="/css/estrutura_mobile.css?1689968119" rel="stylesheet" type="text/css"> 38 39<!-- Estilos padrões para Capa, Topo e Rodapé --> 40<link href="/css/estrutura_capa.css?1773144909" rel="stylesheet" type="text/css"> 41<link href="/css/estrutura_topo.css?1786360850" rel="stylesheet" type="text/css"> 42<link href="/css/estrutura_rodape.css?1712941627" rel="stylesheet" type="text/css"> 43 44<!-- Scripts padrões para Capa, Topo e Rodapé -->
45<script src="/js/funcoes_capa.js?1732562539"></script>
vendor: 1 bytes, line 45
45
46<script src="/js/funcoes_topo.js?1779201105"></script>
vendor: 1 bytes, line 46
46
47<script src="/js/funcoes_rodape.js?1710845559"></script>
47 48 49 50<!-- Estruturas topo e rodapé --> 51 52<!-- CSS exclusivo topo e rodapé --> 53 54<!-- JS exclusivo topo e rodapé --> 55 56 57<!-- Estilos exclusivos do site --> 58<link href="/css/estrutura.css?1697568965" rel="stylesheet" type="text/css"> 59 60 61<!-- Contraste --> 62<link href="/css/contraste.css?1713293949" rel="stylesheet" type="text/css" property="stylesheet"> 63 <!-- IMPORTAÃÃO DO ARQUIVO JS --> 64
64<script src="/js/jquery.min.js?1681922698"></script>
64 65
65<script src="/js/sw_funcoes.js?1787139529"></script>
65 66 67 <!-- GOOGLE RECAPTCHA -->
vendor: 72 bytes, lines 67-70
67 68 <script src='https://www.google.com/recaptcha/api.js'></script> 69 70
70<!-- FIM ALERTAS COM JQUERY --> 71 72 </head> 73 <body> 74 75 <!-- TOPO --> 76 <header> 77 <!-- FONT-AWESOME --> 78<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.13.1/css/all.css"> 79<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.3/css/v4-shims.css"> 80 81<!-- FANCYBOX v3--> 82<link rel="stylesheet" type="text/css" href="/css/jquery.fancybox.min.css?1681922696">
83<script src="/js/jquery.fancybox.min.js?1681922698"></script>
83 84 85 <a href="#e_centralizar" style="font-size: 0; white-space: nowrap; position: absolute; z-index: -100;" accesskey="1"><h1>Ir para o conteúdo</h1></a> 86 87
88<script> 89 // Cancelar leitura digital 90 window.onbeforeunload = window.speechSynthesis.cancel(); 91 92 /* ============================================================================================ 93 FUNÃÃO PARA RETORNO DA VOTAÃÃO DA ENQUETE 94 ============================================================================================ */ 95 function retorna_enquete(data){ 96 if(data != '') 97 { 98 $('#votar').hide(); 99 $("#e_cont_enquete").html(data); 100 } 101 } 102 103 /* ============================================================================================ 104 POPUP 105 ============================================================================================ */ 106 107 // FUNÃÃO ABRIR PÃGINA 108 function sw_abrir_janela(pagina, altura, largura) { 109 var a = (screen.height/2)-(altura/2); 110 var l = (screen.width/2)-(largura/2); 111 window.open(pagina,'senha','width='+largura+',height='+altura+',top='+a+',left='+l+',scrollbars=1'); 112 } 113 114 // ABRIR POPUP 115 function sw_abrir_popup(elemento) { 116 elemento.fadeIn(200); 117 elemento.find(".sw_popup").animate({"top": "+20px"}, "fast"); 118 $("body").css("overflow", "hidden"); 119 } 120 121 // FECHAR POPUP 122 function sw_fechar_popup(elemento) { 123 elemento.fadeOut(200); 124 elemento.find(".sw_popup").animate({"top": "-20px"}, "fast", function() { $(".sw_popup_modal:visible").last().find("input, button").first().focus(); }); 125 setTimeout(function () { 126 if (!$(".sw_popup_modal:visible").length) { 127 $("body").css("overflow", "auto"); 128 } 129 }, 400); 130 } 131 132 // SW POPUP ( ".ELEMENTO / #ELEMENTO" , "SE MODAL PODE SER FECHADO OU NÃO") 133 function sw_popup(elemento, fechar) { 134 if (!fechar) { fechar = "S"; } 135 var id_elemento = elemento.substr(1); // REMOVE O PRIMEIRO CARACTERE (# OU .) 136 var elemento = $(elemento); 137 // ABRIR POPUP 138 sw_abrir_popup(elemento); 139 // FECHAR POPUP 140 elemento.find(".sw_btn_fechar_popup").click(function() { sw_fechar_popup(elemento); }); 141 142 // ANALISANDO SE MODAL PODE SER FECHADO AO CLICAR FORA DA JANELA E AO TECLAR ESC 143 if (fechar == "S") { 144 elemento.addClass("keyupmodal") 145 // FECHAR AO CLICAR NA TELA ESCURA 146 elemento.mousedown(function(e) { 147 if (e.target.id == id_elemento) { 148 sw_fechar_popup(elemento); 149 } 150 }); 151 152 //elemento.click(function() { console.log("fechou!"); sw_fechar_popup(elemento); }); 153 //elemento.find(".sw_popup").on("click", function() { event.stopPropagation(); }); 154 155 // FECHAR AO CLICAR ESC 156 $(document).on("keyup", function(e) { 157 if (e.keyCode === 27) { 158 var modal_fehcar, zindex_fechar = 0; 159 $(".sw_popup_modal.keyupmodal:visible").each(function() { 160 var modal = $(this); 161 var zindex_modal = parseInt(modal.css("z-index")); 162 if (zindex_modal > zindex_fechar) { 163 zindex_fechar = zindex_modal; 164 modal_fechar = modal; 165 } 166 }); 167 // FECHAR MODAL 168 sw_fechar_popup(modal_fechar); 169 } 170 }); 171 } 172 } 173 174 175 /* ============================================================================================ 176 ACESSIBILIDADE 177 ============================================================================================ */ 178 179 // SW ACESSIBILIDADE 180 if (typeof sw_acessibilidade !== "function") { 181 function sw_acessibilidade(param, callback) { 182 183 // ANALISANDO PARÃMETROS 184 if (typeof param === "undefined" || !param) { param = {} } 185 if (typeof param.media === "undefined") { param.media = "desktop" } 186 187 // ANALISANDO MEDIA 188 if ( 189 (param.media === "todas" || param.media === "all") || 190 (param.media === "desktop" && window.innerWidth > 1000) || 191 (param.media === "mobile" && window.innerWidth <= 1000) || 192 (window.innerWidth <= param.media) 193 ) { 194 195 // ANALISANDO PARÃMETROS 196 if (typeof param.layout === "undefined") { param.layout = "a1" } 197 if (typeof param.caminho === "undefined") { param.caminho = "body" } 198 199 // FUNÃÃES 200 if (param.fonte !== false) { param.fonte = true; } 201 if (param.contraste !== false) { param.contraste = true; }
202 if (param.mapa !== false) { param.mapa = true; } 203 if (param.vlibras !== false) { param.vlibras = true; } 204 if (param.pagina !== false) { param.pagina = true; } 205 if (param.transicoes !== false) { param.transicoes = true; } 206 if (param.reset !== false) { param.reset = true; } 207 if (param.irconteudo !== false) { param.irconteudo = true; } 208 if (param.irmenu !== false) { param.irmenu = true; } 209 if (param.irbusca !== false) { param.irbusca = true; } 210 if (param.irrodape !== false) { param.irrodape = true; } 211 212 213 // CRIANDO ELEMENTOS 214 var sw_acessibilidade = $("#sw_acessibilidade"); 215 if (!sw_acessibilidade.length) { 216 sw_acessibilidade = $('<div id="sw_acessibilidade" />'); 217 $(param.caminho).prepend(sw_acessibilidade); 218 } 219 sw_acessibilidade.addClass("sw_area_acessibilidade " + param.layout); 220 221 222 // BOTÃO MENU ACESSIBILIDADE 223 if (!sw_acessibilidade.find("#sw_btn_menu_acessibilidade").length) { 224 var btn_menu_acessibilidade = $('<div id="sw_btn_menu_acessibilidade" class="sw_btn_menu_acessibilidade" />') 225 226 // INSERINDO ÃCONE DE ACESSIBILIDADE E FECHAR 227 btn_menu_acessibilidade.append('<div class="sw_icone_acessibilidade" />') 228 .append('<div class="sw_icone_fechar" />'); 229 230 // INSERINDO BOTÃO MENU 231 sw_acessibilidade.append(btn_menu_acessibilidade); 232 } 233 // CLICK DO BOTÃO 234 sw_acessibilidade.find("#sw_btn_menu_acessibilidade").on({ 235 "click": function() { 236 sw_acessibilidade.toggleClass("show"); 237 } 238 }); 239 sw_acessibilidade.on({ 240 "mouseenter": function() { 241 if (window.innerWidth >= 1000) { 242 sw_acessibilidade.addClass("show"); 243 } 244 }, 245 "mouseleave": function() { 246 if (window.innerWidth >= 1000) { 247 sw_acessibilidade.removeClass("show"); 248 } 249 } 250 }); 251 252 253 // CONT ACESSIBILIDADE 254 if (!sw_acessibilidade.find(".sw_cont_acessibilidade").length) { 255 sw_acessibilidade.append('<div class="sw_cont_acessibilidade" />'); 256 } 257 258 // TÃTULO ACESSIBILIDADE 259 if (!sw_acessibilidade.find(".sw_titulo_acessibilidade").length) { 260 sw_acessibilidade.find(".sw_cont_acessibilidade").append('<div class="sw_titulo_acessibilidade"><span>Acessibilidade</span></div>'); 261 } 262 263 // ÃREA BOTÃES 264 if (!sw_acessibilidade.find(".sw_area_botoes_acessibilidade").length) { 265 sw_acessibilidade.find(".sw_cont_acessibilidade").append('<div class="sw_area_botoes_acessibilidade" />'); 266 } 267 268 // FUNÃÃO INSERE BOTÃO DE ACESSIBILIDADE 269 function sw_insere_btn_acessibilidade(param_btn) { 270 if (param_btn.seletor) { 271 272 // ANALISANDO SE O ELEMENTO NÃO EXISTE PARA ENTÃO CRIAR 273 if (!sw_acessibilidade.find(param_btn.seletor).length) { 274 var item = $( 275 '<a>'+ 276 '<div></div>'+ 277 '</a>' 278 ).attr( 279 param_btn.seletor.charAt(0) === '#' ? 'id' : 'class', 280 param_btn.seletor.substring(1) 281 ); 282 283 // CLASSES 284 if (param_btn.classes) { 285 item.find("div").addClass(param_btn.classes); 286 } 287 288 // DESCRIÃÃO 289 if (param_btn.descricao) { 290 item.find(".sw_btn_acessibilidade").append('<span class="sw_txt_btn_acessibilidade">'+param_btn.descricao+'</span>'); 291 item.attr("title", param_btn.descricao); 292 } 293 294 // ÃCONE 295 if (param_btn.icone) { 296 item.find(".sw_btn_acessibilidade").append('<span class="sw_icone_btn tamanho_fixo swfa '+param_btn.icone+'" />') 297 } 298 299 // LINK 300 if (param_btn.link) { 301 item.attr("href", param_btn.link); 302 } 303 304 // ACCESSKEY 305 if (param_btn.accesskey) { 306 item.attr("accesskey", param_btn.accesskey); 307 308 // INSERINDO TECLADO NUMÃRICO 309 window.addEventListener("keydown", function(e) { 310 var keyCode = e.keyCode || e.which; 311 if (e.altKey && keyCode === param_btn.accesskey+96) { 312 if (param_btn.link) { 313 window.location.href = param_btn.link; 314 } 315 else { 316 item.trigger("click") 317 } 318 } 319 }, false) 320 } 321 322 // INSERINDO ITEM 323 sw_acessibilidade.find(".sw_area_botoes_acessibilidade").append(item); 324 } 325 } 326 } 327 328 329 // ============================================================= 330 // BOTÃO AUMENTAR 331 // ============================================================= 332 if (param.fonte && !sw_acessibilidade.find("#sw_btn_aumentar_acessibilidade").length) { 333 sw_insere_btn_acessibilidade({ 334 seletor: "#sw_btn_aumentar_acessibilidade", 335 classes: "sw_btn_acessibilidade sw_btn_aumentar_acessibilidade", 336 icone: "fas fa-plus", 337 descricao: "Aumentar fonte" 338 }); 339 } 340 // ATRIBUINDO FUNÃÃO 341 sw_acessibilidade.find("#sw_btn_aumentar_acessibilidade").click(function() { 342 // CARREGANDO FS 343 sw_carregando_fs("show"); 344 345 // ALTERANDO FONTS 346 sw_altera_fonts(1); 347 348 // REMOVE CARREGANDO FS 349 setTimeout(function() { 350 sw_carregando_fs("hide"); 351 }, 400); 352 }); 353 354 // ============================================================= 355 // BOTÃO DIMINUIR 356 // ============================================================= 357 if (param.fonte && !sw_acessibilidade.find("#sw_btn_diminuir_acessibilidade").length) { 358 sw_insere_btn_acessibilidade({ 359 seletor: "#sw_btn_diminuir_acessibilidade", 360 classes: "sw_btn_acessibilidade sw_btn_diminuir_acessibilidade", 361 icone: "fas fa-minus", 362 descricao: "Diminuir fonte" 363 }); 364 } 365 // ATRIBUINDO FUNÃÃO 366 sw_acessibilidade.find("#sw_btn_diminuir_acessibilidade").click(function() { 367 // CARREGANDO FS 368 sw_carregando_fs("show"); 369 370 // ALTERANDO FONTS 371 sw_altera_fonts(-1); 372 373 // REMOVE CARREGANDO FS 374 setTimeout(function() { 375 sw_carregando_fs("hide"); 376 }, 400); 377 }); 378 379 // ============================================================= 380 // BOTÃO CONTRASTE 381 // ============================================================= 382 if (param.contraste && !sw_acessibilidade.find("#sw_btn_contraste_acessibilidade").length) { 383 sw_insere_btn_acessibilidade({ 384 seletor: "#sw_btn_contraste_acessibilidade", 385 classes: "sw_btn_acessibilidade sw_btn_contraste_acessibilidade", 386 icone: "fas fa-adjust", 387 descricao: "Alto contraste", 388 accesskey: 5 389 }); 390 } 391 // ATRIBUINDO FUNÃÃO 392 sw_acessibilidade.find("#sw_btn_contraste_acessibilidade").click(function() { 393 var action_contraste = (localStorage.getItem("sw_acessibilidade_contraste") === "true") ? false : true; 394 sw_contraste(action_contraste); 395 }); 396 397 // ============================================================= 398 // BOTÃO VLIBRAS 399 // ============================================================= 400 if (param.vlibras && !sw_acessibilidade.find("#sw_btn_vlibras_acessibilidade").length && $("#vlibras_include img").length) { 401 sw_insere_btn_acessibilidade({ 402 seletor: "#sw_btn_vlibras_acessibilidade", 403 classes: "sw_btn_acessibilidade sw_btn_vlibras_acessibilidade", 404 icone: "fas fa-sign-language", 405 descricao: "Habilitar VLibras", 406 accesskey: 7 407 }); 408 } 409 // ATRIBUINDO FUNÃÃO 410 sw_acessibilidade.find("#sw_btn_vlibras_acessibilidade").click(function() { 411 var action_vlibras = (localStorage.getItem("sw_acessibilidade_vlibras") === "true") ? false : true; 412 sw_vlibras(action_vlibras); 413 }); 414 var vlibras_include = $("#vlibras_include"); 415 if (vlibras_include.length) { 416 // BOTÃO ABRIR VLIBRAS 417 vlibras_include.on("click", "div[vw-access-button]", function(e) { 418 setTimeout(function() { 419 sw_vlibras(true); 420 }, 100); 421 }); 422 // BOTÃO FECHAR VLIBRAS 423 vlibras_include.on("click", "img.vpw-settings-btn-close", function() { 424 setTimeout(function() { 425 sw_vlibras(false); 426 }, 100); 427 }); 428 } 429 430 // ============================================================= 431 // BOTÃO TRANSIÃÃES 432 // ============================================================= 433 if (param.transicoes && !sw_acessibilidade.find("#sw_btn_transicoes_acessibilidade").length) { 434 sw_insere_btn_acessibilidade({ 435 seletor: "#sw_btn_transicoes_acessibilidade", 436 classes: "sw_btn_acessibilidade sw_btn_transicoes_acessibilidade", 437 icone: "fab fa-delicious", 438 descricao: "Ativar/Desativar transições" 439 }); 440 } 441 // ATRIBUINDO FUNÃÃO 442 sw_acessibilidade.find("#sw_btn_transicoes_acessibilidade").click(function() { 443 // CARREGANDO FS 444 sw_carregando_fs("show"); 445 446 // ACIONANDO FUNÃÃO 447 var action_transicoes = (localStorage.getItem("sw_acessibilidade_transicoes") === "true") ? false : true; 448 sw_desativa_transicoes(action_transicoes); 449 450 // REMOVE CARREGANDO FS 451 setTimeout(function() { 452 sw_carregando_fs("hide"); 453 }, 400); 454 }); 455 456 // ============================================================= 457 // BOTÃO MAPA 458 // =============================================================
459 if (param.mapa && !sw_acessibilidade.find("#sw_btn_mapa_acessibilidade").length) { 460 sw_insere_btn_acessibilidade({ 461 seletor: "#sw_btn_mapa_acessibilidade", 462 classes: "sw_btn_acessibilidade sw_btn_mapa_acessibilidade", 463 icone: "fas fa-sitemap", 464 descricao: "Mapa do site", 465 link: "/portal/mapa" 466 }); 467 } 468 469 // ============================================================= 470 // BOTÃO ACESSIBILIDADE PÃGINA 471 // ============================================================= 472 if (param.pagina && !sw_acessibilidade.find("#sw_btn_pagina_acessibilidade").length) { 473 sw_insere_btn_acessibilidade({ 474 seletor: "#sw_btn_pagina_acessibilidade", 475 classes: "sw_btn_acessibilidade sw_btn_pagina_acessibilidade", 476 icone: "fas fa-wheelchair", 477 descricao: "Página de Acessibilidade", 478 link: "/portal/acessibilidade", 479 accesskey: 6 480 }); 481 } 482 483 // ============================================================= 484 // BOTÃO RESET 485 // ============================================================= 486 if (param.reset && !sw_acessibilidade.find("#sw_btn_reset_acessibilidade").length) { 487 sw_insere_btn_acessibilidade({ 488 seletor: "#sw_btn_reset_acessibilidade", 489 classes: "sw_btn_acessibilidade sw_btn_reset_acessibilidade", 490 icone: "fas fa-undo", 491 descricao: "Resetar acessibilidade" 492 }); 493 } 494 // ATRIBUINDO FUNÃÃO 495 sw_acessibilidade.find("#sw_btn_reset_acessibilidade").click(function() { 496 // CARREGANDO FS 497 sw_carregando_fs("show"); 498 499 // RESETANDO ACESSIBILIDADE 500 var reset = true; 501 set_acessibilidade(reset); 502 503 // REMOVE CARREGANDO 504 setTimeout(function() { 505 sw_carregando_fs("hide"); 506 }, 400); 507 }).hide(); 508 509 510 // ============================================================= 511 // BOTÃO IR PARA O CONTEÃDO 512 // ============================================================= 513 if (param.irconteudo && !sw_acessibilidade.find("#sw_btn_irconteudo_acessibilidade").length) { 514 sw_insere_btn_acessibilidade({ 515 seletor: "#sw_btn_irconteudo_acessibilidade", 516 classes: "sw_btn_acessibilidade sw_link_acessibilidade sw_btn_irconteudo_acessibilidade", 517 icone: "fas fa-desktop", 518 descricao: "Ir para o conteúdo", 519 link: (location.pathname === "/" || location.pathname === "/portal" || location.pathname === "/portal/") ? "#e_conteudo" : "#e_centralizar", 520 accesskey: 1 521 }); 522 } 523 524 // ============================================================= 525 // BOTÃO IR PARA O MENU 526 // ============================================================= 527 if (param.irmenu && !sw_acessibilidade.find("#sw_btn_irmenu_acessibilidade").length) { 528 sw_insere_btn_acessibilidade({ 529 seletor: "#sw_btn_irmenu_acessibilidade", 530 classes: "sw_btn_acessibilidade sw_link_acessibilidade sw_btn_irmenu_acessibilidade", 531 icone: "fas fa-bars", 532 descricao: "Ir para o menu", 533 link: "#e_cont_topo", 534 accesskey: 2 535 }); 536 } 537 538 // ============================================================= 539 // BOTÃO IR PARA A BUSCA 540 // ============================================================= 541 if (param.irbusca && !sw_acessibilidade.find("#sw_btn_irbusca_acessibilidade").length) { 542 sw_insere_btn_acessibilidade({ 543 seletor: "#sw_btn_irbusca_acessibilidade", 544 classes: "sw_btn_acessibilidade sw_link_acessibilidade sw_btn_irbusca_acessibilidade", 545 icone: "fas fa-search", 546 descricao: "Ir para a busca", 547 link: "#e_campo_busca", 548 accesskey: 3 549 }); 550 } 551 // IR PARA BUSCA 552 $("#irbusca").click(function () { 553 $("#e_campo_busca").focus(); 554 }); 555 // FORMULÃRIO 556 $("#formulario_busca").bind('submit',function() { 557 var busca = ($("#e_campo_busca").val() == "") ? 0 : $("#e_campo_busca").val(); 558 window.location.href = '/portal/busca/' + busca; 559 return false;
560 }); 561 562 // ============================================================= 563 // BOTÃO IR PARA O RODAPà 564 // ============================================================= 565 if (param.irrodape && !sw_acessibilidade.find("#sw_btn_irrodape_acessibilidade").length) { 566 sw_insere_btn_acessibilidade({ 567 seletor: "#sw_btn_irrodape_acessibilidade", 568 classes: "sw_btn_acessibilidade sw_link_acessibilidade sw_btn_irrodape_acessibilidade", 569 icone: "fas fa-arrow-down", 570 descricao: "Ir para o rodapé", 571 link: "#e_cont_rodape", 572 accesskey: 4 573 }); 574 } 575 } 576 } 577 } 578 579 // FUNÃÃO AUMENTAR / DIMINUIR FONTS 580 if (typeof sw_altera_fonts !== "function") { 581 function sw_altera_fonts(action) { 582 var elemento; 583 var body = $("body"); 584 var fonte = (localStorage.getItem("sw_acessibilidade_fonte") !== null) ? parseInt(localStorage.getItem("sw_acessibilidade_fonte")) : 0; 585 var fontoriginal; 586 var font_size; 587 var nova_font_size; 588 589 // ANALISANDO SE FONT ORIGINAL E PARÃMETRO SÃO DIFERENTES DE ZERO 590 if (!((action === 0 || action === false || action === null) && fonte === 0)) { 591 592 // CALCULANDO NOVA FONT 593 nova_font_size = (action === 0) ? 0 : fonte + action; 594 595 // PERCORRENDO ELEMENTOS DO BODY E SETANDO FONTS ORIGINAIS 596 if (nova_font_size >= -5 && nova_font_size <= 5) { 597 598 body.find("*").each(function() { 599 elemento = $(this); 600 // ANALISANDO | SE ELEMENTO PAI CONTÃM A CLASSE TAMANHO_FIXO | && | SE O ELEMENTO NÃO TEM FONT-SIZE ZERO OU | && | SE O ELEMENTO NÃO TEM A CLASSE TAMANHO_FIXO 601 if ( (!elemento.parents(".tamanho_fixo").length) && (elemento.css("font-size").replace(/\D/g, "") > 0) && (!elemento.hasClass("tamanho_fixo")) ) { 602 603 // ANALISANDO ESTADO ATUAL DAS FONTS 604 fontoriginal = elemento.attr("data-fontoriginal"); 605 if (typeof fontoriginal === "undefined" || fontoriginal === false) { 606 // SETANDO ATRIBUTO DATA-FONTSIZE ATUAL 607 fontoriginal = parseInt(elemento.css("font-size").replace("px", "")); 608 elemento.attr("data-fontoriginal", fontoriginal) 609 } 610 } 611 }); 612 613 // PERCORRENDO ELEMENTOS DO BODY E ALTERANDO FONT-SIZE 614 body.find("[data-fontoriginal]").each(function() { 615 elemento = $(this); 616 // ANALISANDO FONT ATUAL DO ELEMENTO 617 fontoriginal = parseInt(elemento.attr("data-fontoriginal")); 618 font_size = fontoriginal + nova_font_size; 619 elemento.css({"font-size" : font_size + "px"}); 620 }); 621 622 // ATUALIZANDO LOCAL STORAGE 623 if (nova_font_size == 0) { 624 localStorage.removeItem("sw_acessibilidade_fonte"); 625 } else { 626 localStorage.setItem("sw_acessibilidade_fonte", nova_font_size); 627 } 628 } 629 630 // ACIONANDO FUNÃÃO SET ACESSIBILIDADE 631 sw_deb_acessibilidade = sw_debounce(set_acessibilidade, 500, sw_deb_acessibilidade); 632 } 633 } 634 } 635 636 // FUNÃÃO CONTRASTE 637 if (typeof sw_contraste !== "function") { 638 function sw_contraste(action) { 639 var body = $("body"); 640 var contraste = (localStorage.getItem("sw_acessibilidade_contraste") !== null) ? localStorage.getItem("sw_acessibilidade_contraste") : false; 641 642 // ANALISANDO SE Hà MUDANÃA DE AÃÃO 643 if (typeof action === "undefined" || action === null) { 644 action = contraste; 645 } 646 647 // REMOVENDO TRANSIÃÃES MOMENTANEAMENTE 648 body.addClass("transition0s"); 649 setTimeout(function() { 650 body.removeClass("transition0s"); 651 }, 100); 652 653 // ANALISANDO AÃÃO 654 if (action || action === "true") { 655 body.addClass("contraste"); 656 657 // SETANDO LOCAL STORAGE 658 localStorage.setItem("sw_acessibilidade_contraste", action); 659 } 660 else { 661 body.removeClass("contraste"); 662 663 // RESETANDO LOCAL STORAGE 664 localStorage.removeItem("sw_acessibilidade_contraste"); 665 } 666 667 // ACIONANDO FUNÃÃO SET ACESSIBILIDADE 668 sw_deb_acessibilidade = sw_debounce(set_acessibilidade, 200, sw_deb_acessibilidade); 669 } 670 } 671 672 // FUNÃÃO DESATIVA TRANSIÃÃES 673 if (typeof sw_desativa_transicoes !== "function") { 674 function sw_desativa_transicoes(action) { 675 var contents = $("body >*"); 676 var transicoes = (localStorage.getItem("sw_acessibilidade_transicoes") !== null) ? localStorage.getItem("sw_acessibilidade_transicoes") : false;
677 678 // ANALISANDO SE Hà MUDANÃA DE AÃÃO 679 if (typeof action === "undefined" || action === null) { 680 action = transicoes; 681 } 682 683 // ANALISANDO AÃÃO 684 if (action || action === "true") { 685 contents.addClass("transition0s"); 686 687 // SETANDO LOCAL STORAGE 688 localStorage.setItem("sw_acessibilidade_transicoes", true); 689 } 690 else { 691 contents.removeClass("transition0s"); 692 693 // RESETANDO LOCAL STORAGE 694 localStorage.removeItem("sw_acessibilidade_transicoes"); 695 } 696 697 // ACIONANDO FUNÃÃO SET ACESSIBILIDADE 698 sw_deb_acessibilidade = sw_debounce(set_acessibilidade, 500, sw_deb_acessibilidade); 699 } 700 } 701 702 // FUNÃÃO HABILITA VLIBRAS 703 if (typeof sw_vlibras !== "function") { 704 function sw_vlibras(action) { 705 var vlibras = (localStorage.getItem("sw_acessibilidade_vlibras") !== null) ? localStorage.getItem("sw_acessibilidade_vlibras") : false; 706 var vlibras_include = $("#vlibras_include"); 707 708 // ANALISANDO SE Hà MUDANÃA DE AÃÃO 709 if (typeof action === "undefined" || action === null) { 710 action = vlibras; 711 } 712 713 // ANALISANDO AÃÃO 714 if (action || action === "true") { 715 if (vlibras_include.find("div[vw-access-button]").hasClass("active")) { 716 vlibras_include.find("div[vw-access-button]").trigger("click"); 717 } 718 719 // SETANDO LOCAL STORAGE 720 localStorage.setItem("sw_acessibilidade_vlibras", action); 721 } 722 else { 723 if (!vlibras_include.find("div[vw-access-button]").hasClass("active")) { 724 vlibras_include.find("img.vpw-settings-btn-close").trigger("click"); 725 } 726 727 // RESETANDO LOCAL STORAGE 728 localStorage.removeItem("sw_acessibilidade_vlibras"); 729 } 730 731 // ACIONANDO FUNÃÃO SET ACESSIBILIDADE 732 sw_deb_acessibilidade = sw_debounce(set_acessibilidade, 500, sw_deb_acessibilidade); 733 } 734 } 735 736 // FUNÃÃO SET ACESSIBILIDADE // INDICA AO USUÃRIO QUE Hà FUNÃÃES DE ACESSIBILIDADES ATIVAS OU RESETA FUNÃÃES 737 if (typeof set_acessibilidade !== "function") { 738 function set_acessibilidade(reset) 739 { 740 // CAPTURANDO ATRIBUTOS 741 var fonte = (localStorage.getItem("sw_acessibilidade_fonte") !== null) ? localStorage.getItem("sw_acessibilidade_fonte") : 0; 742 var contraste = (localStorage.getItem("sw_acessibilidade_contraste") !== null) ? localStorage.getItem("sw_acessibilidade_contraste") : false; 743 var transicoes = (localStorage.getItem("sw_acessibilidade_transicoes") !== null) ? localStorage.getItem("sw_acessibilidade_transicoes") : false; 744 var vlibras = (localStorage.getItem("sw_acessibilidade_vlibras") !== null) ? localStorage.getItem("sw_acessibilidade_vlibras") : false; 745 746 // BOTÃES 747 var sw_btn_menu_acessibilidade = $("#sw_btn_menu_acessibilidade"); 748 var sw_btn_aumentar_acessibilidade = $("#sw_btn_aumentar_acessibilidade"); 749 var sw_btn_diminuir_acessibilidade = $("#sw_btn_diminuir_acessibilidade"); 750 var sw_btn_contraste_acessibilidade = $("#sw_btn_contraste_acessibilidade"); 751 var sw_btn_transicoes_acessibilidade = $("#sw_btn_transicoes_acessibilidade"); 752 var sw_btn_vlibras_acessibilidade = $("#sw_btn_vlibras_acessibilidade"); 753 var sw_btn_reset_acessibilidade = $("#sw_btn_reset_acessibilidade"); 754 755 // ANALISANDO RESET 756 if (reset === true) { 757 fonte = 0; 758 contraste = false; 759 transicoes = false; 760 vlibras = false; 761 762 // RESETANDO ACESSIBILIDADE 763 sw_altera_fonts(fonte); 764 sw_contraste(contraste); 765 sw_desativa_transicoes(transicoes); 766 sw_vlibras(vlibras); 767 } 768 769 // BOTÃO DE RESET 770 if (sw_btn_reset_acessibilidade.length) { 771 if (fonte != 0 || contraste || transicoes || vlibras) { 772 sw_btn_reset_acessibilidade.show(); 773 } 774 else { 775 sw_btn_reset_acessibilidade.hide(); 776 } 777 } 778 779 // ANALISANDO FUNÃÃES INDIVIDUALMENTE 780 var qtde_funcoes = 0; 781 782 // AUMENTAR / DIMINUIR FONTE 783 if (fonte > 0) { 784 qtde_funcoes++; 785 sw_btn_aumentar_acessibilidade.find(".sw_btn_acessibilidade").attr("data-acessibilidade", fonte).addClass("ativa"); 786 sw_btn_diminuir_acessibilidade.find(".sw_btn_acessibilidade").removeAttr("data-acessibilidade").removeClass("ativa"); 787 } 788 else if (fonte < 0) { 789 qtde_funcoes++; 790 sw_btn_diminuir_acessibilidade.find(".sw_btn_acessibilidade").attr("data-acessibilidade", fonte).addClass("ativa"); 791 sw_btn_aumentar_acessibilidade.find(".sw_btn_acessibilidade").removeAttr("data-acessibilidade").removeClass("ativa"); 792 } 793 else { 794 sw_btn_aumentar_acessibilidade.find(".sw_btn_acessibilidade").removeAttr("data-acessibilidade").removeClass("ativa"); 795 sw_btn_diminuir_acessibilidade.find(".sw_btn_acessibilidade").removeAttr("data-acessibilidade").removeClass("ativa"); 796 } 797 798 // CONTRASTE 799 if (contraste) { 800 qtde_funcoes++; 801 sw_btn_contraste_acessibilidade.find(".sw_btn_acessibilidade").attr("data-acessibilidade", 1).addClass("ativa"); 802 } 803 else { 804 sw_btn_contraste_acessibilidade.find(".sw_btn_acessibilidade").removeAttr("data-acessibilidade").removeClass("ativa"); 805 } 806 807 // TRANSIÃÃES 808 if (transicoes) { 809 qtde_funcoes++; 810 sw_btn_transicoes_acessibilidade.find(".sw_btn_acessibilidade").attr("data-acessibilidade", 1).addClass("ativa"); 811 } 812 else { 813 sw_btn_transicoes_acessibilidade.find(".sw_btn_acessibilidade").removeAttr("data-acessibilidade").removeClass("ativa"); 814 } 815 816 // VLIBRAS 817 if (vlibras) { 818 qtde_funcoes++; 819 sw_btn_vlibras_acessibilidade.find(".sw_btn_acessibilidade").attr("data-acessibilidade", 1).addClass("ativa"); 820 } 821 else { 822 sw_btn_vlibras_acessibilidade.find(".sw_btn_acessibilidade").removeAttr("data-acessibilidade").removeClass("ativa"); 823 } 824 825 // ANALISANDO QUANTIDADE DE FUNÃÃES 826 if (qtde_funcoes > 0) { 827 sw_btn_menu_acessibilidade.addClass("ativa").find(".sw_icone_acessibilidade").attr("data-acessibilidade", qtde_funcoes); 828 } 829 else { 830 sw_btn_menu_acessibilidade.removeClass("ativa").find(".sw_icone_acessibilidade").removeAttr("data-acessibilidade"); 831 } 832 833 834 // ATRIBUINDO TEXTO AOS BOTÃES 835 if (sw_btn_contraste_acessibilidade.length) { 836 var txt_btn = (contraste === false) ? "Alto contraste" : "Baixo contraste"; 837 sw_btn_contraste_acessibilidade.attr("title", txt_btn); 838 sw_btn_contraste_acessibilidade.find(".sw_txt_btn_acessibilidade").text(txt_btn); 839 } 840 if (sw_btn_transicoes_acessibilidade.length) { 841 var txt_btn = (transicoes == false) ? "Remover transições" : "Ativar transições"; 842 sw_btn_transicoes_acessibilidade.attr("title", txt_btn); 843 sw_btn_transicoes_acessibilidade.find(".sw_txt_btn_acessibilidade").text(txt_btn); 844 } 845 if (sw_btn_vlibras_acessibilidade.length) { 846 var txt_btn = (vlibras == false) ? "Ativar VLibras" : "Desativar VLibras"; 847 sw_btn_vlibras_acessibilidade.attr("title", txt_btn); 848 sw_btn_vlibras_acessibilidade.find(".sw_txt_btn_acessibilidade").text(txt_btn); 849 } 850 } 851 } 852 853 // FUNÃÃO DEBOUNCE 854 if (typeof sw_debounce !== "function") { 855 function sw_debounce(funcao, time, debounce_timeout) { 856 clearTimeout(debounce_timeout); 857 858 // A CHAMADA DESSA FUNÃÃO DEVE SER RETORNADA PARA A VARIÃVEL 'debounce_timeout' 859 // Ex: var debounce_timeout = sw_debounce(funcao, time, debounce_timeout) 860 return debounce_timeout = setTimeout(funcao, time); 861 } 862 } 863 var sw_deb_acessibilidade; 864 865 866 /* ============================================================================================ 867 ACIONANDO FUNÃÃES ANTES DE CARREGAR A PÃGINA 868 ============================================================================================ */ 869 870 // FONT PARA DISLEXIA 871 sw_font_dislexia(null); 872 873 // CONTRASTE 874 sw_contraste(null); 875 876 // TRANSIÃÃES 877 sw_desativa_transicoes(null); 878 879 880 /* ============================================================================================ 881 ACIONANDO FUNÃÃES AO CARREGAR A PÃGINA 882 ============================================================================================ */ 883 $(document).ready(function() { 884 885 886 887 /* ============================================================================================ 888 ACESSIBILIDADE ---- ANTIGO --- REMOVER DEPOIS DE TODOS ALTERADOS 889 ============================================================================================ */ 890
891 // BOTÃO DE AUMENTAR A FONTE 892 $(".aumentar").click(function () { 893 $("*").each(function() { 894 895 if ( (!$(this).parents(".tamanho_fixo").length) && ($(this).css("font-size").replace(/\D/g, "") > 0) && (!$(this).hasClass("tamanho_fixo")) ) 896 { 897 var size = $(this).css('font-size'); 898 899 size = size.replace('px', ''); 900 size = parseInt(size) + 1; 901 902 if(size < 18) 903 { 904 $(this).animate({'font-size' : size + 'px'}); 905 } 906 } 907 }); 908 }); 909 910 // BOTÃO DE DIMINUIR A FONTE 911 $(".diminuir").click(function () { 912 $("*").each(function() { 913 914 if ( (!$(this).parents(".tamanho_fixo").length) && ($(this).css("font-size").replace(/\D/g, "") > 0) && (!$(this).hasClass("tamanho_fixo")) ) 915 { 916 var size = $(this).css('font-size'); 917 918 size = size.replace('px', ''); 919 size = parseInt(size) - 1; 920 if(size > 10) 921 { 922 $(this).animate({'font-size' : size + 'px'}); 923 } 924 } 925 }); 926 }); 927 928 // BOTÃO DE CONTRASTE DE COR 929 $("#contraste").click(function () { 930 931 if($("body").hasClass("contraste")) 932 { 933 $("body").removeClass("contraste"); 934 $("body").css("background","#FFFFFF"); 935 $("#logo_branca").hide(); 936 } 937 else 938 { 939 $("body").addClass("contraste"); 940 $("#logo_branca").show(); 941 } 942 }); 943 944 // BOTÃO IR PARA BUSCA 945 $("#irbusca").click(function () { 946 $("#e_campo_busca").focus(); 947 }); 948 949 // VLIBRAS 950 $(".vlibras").click(function() { 951 $("#vlibras_include div[vw-access-button]").trigger("click"); 952 }); 953 954 955 956 957 958 959 // // SW ACESSIBILIDADE 960 // var sw_parametros_acessibilidade = { 961 // layout: "a1" 962 // }; 963 // // ANALISANDO SE Hà PARÃMETROS EXCLUSIVOS DO LAYOUT 964 // if (typeof e_parametros_acessibilidade === "object") { 965 // sw_parametros_acessibilidade = e_parametros_acessibilidade; 966 // } 967 968 // // ACIONANDO FUNÃÃO DE ACESSIBILIDADE 969 // sw_acessibilidade(sw_parametros_acessibilidade) 970 971 972 // ACIONANDO FUNÃÃO DE ACESSIBILIDADE AO FIM DO CARREGAMENTO DA PÃGINA 973 $(window).on("load", function() { 974 // ALTERAR FONTS 975 sw_altera_fonts(null); 976 977 // VLIBRAS 978 sw_vlibras(null); 979 }); 980 981 // SETANDO ATRIBUTOS 982 sw_deb_acessibilidade = sw_debounce(set_acessibilidade, 500, sw_deb_acessibilidade); 983 984 /* ============================================================================================ 985 ENQUETE 986 ============================================================================================ */ 987 988 // CLICK DO BOTÃO COM ID VOTAR DA ENQUETE 989 $('#votar').click(function(){ 990 var opcao = $("input[name=form_resposta]:checked").val(); 991 992 opcao = parseInt(opcao); 993 994 var recaptcha = ""; 995 996 //A CLASSE e_captcha_enquete DEVE SER INSERIDA NO HTMLQUE CONTER O CAPTCHA DA ENQUETE, PARA QUE O CÃDIGO CONSIGA LOCALIZAR O RESULTADO REFERENTE AO LOCAL CORRETO 997 recaptcha = $(".e_captcha_enquete").find("textarea.g-recaptcha-response").val(); 998 999 //SE EXISTIR OS CAMPOS DE NOME E E-MAIL 1000 if($('#form_nome_enquete').length || $('#form_email_enquete').length || $("#form_cpf_enquete").length || $("#form_data_enquete").length) 1001 { 1002 if(isNaN(opcao)) 1003 { 1004 swal({ 1005 text: "Enquete: selecione uma resposta.", 1006 icon: "warning" 1007 }); 1008 } 1009 else 1010 { 1011 if($("#form_nome_enquete").val() == "" || $("#form_email_enquete").val() == "" || $("#form_cpf_enquete").val() == "" || $("#form_data_enquete").val() == "" || $("#form_data_enquete").val() == "00/00/0000") 1012 { 1013 swal({ 1014 text: "Enquete: preencha os campos.", 1015 icon: "warning" 1016 }); 1017 } 1018 else 1019 { 1020 var nome = $("#form_nome_enquete").val(); 1021 var email = $("#form_email_enquete").val(); 1022 var cpf = $("#form_cpf_enquete").val(); 1023 var data = $("#form_data_enquete").val(); 1024 var invalido = ""; 1025 1026 if($("#form_cpf_enquete").val() != '' && $("#form_cpf_enquete").length) 1027 { 1028 if(validarCPF(cpf) == false) 1029 { 1030 swal({ 1031 text: "Enquete: CPF informado é inválido.", 1032 icon: "error" 1033 }); 1034 1035 invalido = "S"; 1036 } 1037 } 1038 if($("#form_email_enquete").val() != '' && $("#form_email_enquete").length) 1039 { 1040 if(validarEmail(email) == false) 1041 { 1042 swal({ 1043 text: "Enquete: E-mail informado é inválido.", 1044 icon: "error" 1045 }); 1046 invalido = "S"; 1047 } 1048 } 1049 if(invalido != "S") 1050 { 1051 $.post('/portal/enquete/votar/',{ enviar: 's', form_resposta: opcao, form_nome: nome, form_email: email, form_cpf: cpf, form_data: data, captcha: recaptcha }, retorna_enquete); 1052 } 1053 } 1054 } 1055 } 1056 else 1057 { 1058 if(!isNaN(opcao)) 1059 { 1060 $.post('/portal/enquete/votar/',{ enviar: 's', form_resposta: opcao, captcha: recaptcha }, retorna_enquete); 1061 } 1062 else 1063 { 1064 swal({ 1065 text: "Enquete: selecione uma resposta.", 1066 icon: "warning" 1067 }); 1068 } 1069 } 1070 }); 1071 1072 }); 1073</script>
1073 1074 1075<div class="sw_barra_notificacoes"> 1076 <div class="sw_cont_barra_notificacoes"> 1077 1078 <div id="lgpd"> 1079 <div class="sw_notificacao sw_politica_privacidade sw_lato"> 1080 <div class="sw_info_politica_privacidade"> 1081 Prefeitura Municipal de Barbacena e os cookies: nosso site usa cookies para melhorar a sua experiência de navegação. Ao continuar você concorda com a nossa <a href="/portal/privacidade" target="_blank"><span>PolÃtica de Cookies</span> e <span>Privacidade</span></a>. </div> 1082 <div class="sw_cont_btn_politica_privacidade"> 1083 <div class="sw_btn_politica_privacidade sw_lato_black sw_btn_fechar_notificacao">ACEITAR</div> 1084 <div class="sw_btn_politica_privacidade sw_lato_black sw_btn_personalizar_cookies">PERSONALIZAR</div> 1085 </div> 1086 </div> 1087 </div> 1088 </div> 1089</div> 1090 1091<div class="sw_cookies_aceitos abrir_modal_personalizar_cookies " data-tooltip="PolÃtica de Cookies e Privacidade"> 1092 <div class="sw_politica_privacidade sw_lato"> 1093 <span id="icone_personalizar_cookies"> 1094 <span class="swfa fas fa-cookie"></span> 1095 </span> 1096 </div> 1097</div> 1098 1099 1100<!-- Modal de personalizar cookies --> 1101<div class="sw_popup_modal" id="sw_cont_politica_privacidade"> 1102 <div class="sw_popup"> 1103 1104 <!-- Fechar --> 1105 <div class="sw_btn_fechar_popup" id="btn_fechar_modal_cookies"><i class="swfa fas fa-times" aria-hidden="true"></i></div> 1106 1107 <!-- TÃtulo --> 1108 <div class="sw_titulo_popup sw_lato_bold" id="titulo_termo">PolÃtica de Cookies e Privacidade</div> 1109 1110 <!-- Descrição --> 1111 <div class="sw_descricao_popup sw_lato_bold"> 1112 Personalize as suas preferências de cookies. 1113 <div> 1114 <br> 1115 <strong><a href="/portal/privacidade" target="_blank">Clique aqui e consulte nossas polÃticas</a></strong>. 1116 </div> 1117 </div> 1118 1119 <!-- Conteúdo dos cookies --> 1120 <div class="sw_conteudo_popup"> 1121 1122 <!-- Cookies necessários --> 1123 <div class="sw_lista_detalhes"> 1124 <div class="sw_linha_lista_detalhes"> 1125 <div style="width: 90%;"> 1126 <div class="sw_nome_detalhe sw_lato_bold"> 1127 Cookies necessários 1128 <div class="sw_descricao_detalhes_cookie sw_lato">Essenciais para uma navegação eficiente em nosso site.</div> 1129 </div> 1130 </div> 1131 <label class="sw_btn_checkbox"> 1132 <span class="e_trans">Checkbox</span> 1133 <input type="checkbox" name="cookies_necessarios" disabled="" checked=""> 1134 <span class="sw_btn_checkbox_background" style="opacity: 0.5;"> 1135 <span class="sw_btn_checkbox_controle"></span> 1136 </span> 1137 </label> 1138 </div> 1139 </div> 1140 1141 <!-- Cookies de estatÃsticas --> 1142 <div class="sw_lista_detalhes"> 1143 <div class="sw_linha_lista_detalhes"> 1144 <div style="width: 90%;"> 1145 <div class="sw_nome_detalhe sw_lato_bold"> 1146 Cookies de estatÃsticas 1147 <div class="sw_descricao_detalhes_cookie sw_lato">Recomendados para a prefeitura coletar informações de navegações do usuário.</div> 1148 </div> 1149 </div> 1150 <label class="sw_btn_checkbox"> 1151 <span class="e_trans">Checkbox</span> 1152 <input type="checkbox" name="cookies_estatisticas" > 1153 <span class="sw_btn_checkbox_background checkbox_estatisticas"> 1154 <span class="sw_btn_checkbox_controle"></span> 1155 </span> 1156 </label> 1157 </div> 1158 </div> 1159 </div> 1160
1161 <!-- Ãrea de botões --> 1162 <div class="sw_area_botoes_popup sw_lato_medium"> 1163 <div class="sw_btn_popup sw_btn_aceitar" id="salvar_preferencias_cookies"> 1164 <i class="swfa fas fa-check" aria-hidden="true"></i> 1165 <span>SALVAR</span> 1166 </div> 1167 </div> 1168 </div> 1169</div> 1170
1171<script> 1172 1173 // Seta os cookies 1174 function f_cookies_criar(cookieCheckboxEstatistica) 1175 { 1176 // Cookies necessários 1177 document.cookie = "PrefeituraMunicipaldeBarbacena-LGPD=S; max-age=604800; path=/"; 1178 1179 // Cookies de estatÃstica 1180 if (cookieCheckboxEstatistica) { 1181 document.cookie = "PrefeituraMunicipaldeBarbacena-ESTATISTICA=S; max-age=604800; path=/"; 1182 } else { 1183 document.cookie = "PrefeituraMunicipaldeBarbacena-ESTATISTICA=S; max-age=0; path=/"; 1184 } 1185 } 1186 1187 // Altera o conteúdo da notificação 1188 function f_cookies_notificacao_alterar() 1189 { 1190 $("#lgpd").fadeOut(800, function() { 1191 $(this).remove(); 1192 }); 1193 $(".sw_cookies_aceitos").addClass("show sw_txt_tooltip"); 1194 } 1195 1196 $(document).ready(function() { 1197 1198 //CONFIGURAÃÃO DOS BOTÃO DO VISUALIZADOR DE FOTOS 1199 $('.fancybox').fancybox({ 1200 buttons : [ 1201 'slideShow', 1202 //'thumbs', 1203 'close' 1204 ], 1205 loop : true, 1206 arrows : true, 1207 slideShow : { 1208 autoStart : false, 1209 speed : 3500 1210 }, 1211 }); 1212 1213 // ANALISANDO SE Hà NOTIFICAÃÃES 1214 var barra_notificacoes = $(".sw_barra_notificacoes"); 1215 if (barra_notificacoes.find(".sw_notificacao").length) { 1216 1217 $(window).on("load", function() { 1218 barra_notificacoes.addClass("show"); 1219 }); 1220 1221 /* ============================================================================================ 1222 FUNÃÃES INDIVIDUAIS DAS NOTIFICAÃÃES 1223 ============================================================================================ */ 1224 $(".sw_btn_fechar_notificacao").click(function() { 1225 var elemento_noticicacao = $(this).parents(".sw_notificacao"); 1226 1227 // Fechando notificação 1228 elemento_noticicacao.fadeOut(800, function() { 1229 elemento_noticicacao.remove(); 1230 1231 // Analisando se há mais notificações 1232 if (barra_notificacoes.find(".sw_notificacao").length < 1) { 1233 barra_notificacoes.removeClass("show"); 1234 } 1235 }); 1236 1237 }); 1238 1239 1240 // PolÃtica de cookies 1241 $("#lgpd").find(".sw_btn_fechar_notificacao").click(function() { 1242 1243 // Seta checked 1244 $("input[type='checkbox'][name='cookies_estatisticas']").attr("checked", true); 1245 1246 // Seta cookies (aceita os dois) 1247 f_cookies_criar(true) 1248 1249 // Altera o conteúdo da notificação de cookies 1250 f_cookies_notificacao_alterar(); 1251 }); 1252 1253 // Transmissão ao vivo 1254 $(".live_info_transmissao").find(".sw_btn_fechar_notificacao").click(function() { 1255 var data_video = $(this).attr("data-video"); 1256 $.post("/portal/transmissao/encerra/", { video: data_video }); 1257 }); 1258 } 1259 1260 // Mostra Ãcone polÃtica de cookies 1261 $(window).on("load", function() { 1262 if ($("#lgpd").length === 0) { 1263 $(".sw_cookies_aceitos").addClass("show"); 1264 } 1265 }); 1266 1267 // Modal de personalizar cookies 1268 if ($("#sw_cont_politica_privacidade").length) { 1269 1270 // Ao clicar em personalizar 1271 let modalPersonalizarAberto = false; 1272 $(document.body).on('click', '.sw_btn_personalizar_cookies, .abrir_modal_personalizar_cookies', function() { 1273 1274 // Cria pop-up 1275 sw_popup("#sw_cont_politica_privacidade", "S"); 1276 1277 // Caso não tenha aberto o modal e não foi votado 1278 if (!modalPersonalizarAberto && $(".sw_cookies_aceitos").hasClass("show") === false) { 1279 $("input[type='checkbox'][name='cookies_estatisticas']").attr("checked", true); 1280 } 1281 modalPersonalizarAberto = true; 1282 }); 1283 1284 // Controle do atributo "checked" nos cookies de estatÃsticas 1285 $("input[type='checkbox'][name='cookies_estatisticas']").change(function() { 1286 let checadoEstatisticas = $("input[type='checkbox'][name='cookies_estatisticas']").attr("checked"); 1287 if(checadoEstatisticas) { 1288 $(this).attr("checked", true); 1289 } else if(checadoEstatisticas === undefined) { 1290 $(this).attr("checked", false); 1291 } 1292 }); 1293 1294 // Ao salvar preferências 1295 $("#salvar_preferencias_cookies").click(function() { 1296 1297 // Verifica se está checado o botão dos cookies de estatÃsticas 1298 let checadoEstatisticas = $("input[type='checkbox'][name='cookies_estatisticas']").attr("checked"); 1299 1300 // Seta cookies 1301 f_cookies_criar(checadoEstatisticas); 1302 1303 // Altera o conteúdo da notificação de cookies 1304 f_cookies_notificacao_alterar(); 1305 1306 // Fecha pop-up 1307 let elementoPopupPrivacidade = document.getElementById("sw_cont_politica_privacidade"); 1308 sw_fechar_popup($(elementoPopupPrivacidade)); 1309 1310 // Analisando se há mais notificações 1311 barra_notificacoes.fadeOut(800, function() { 1312 if (barra_notificacoes.find(".sw_notificacao").length < 1) { 1313 barra_notificacoes.removeClass("show"); 1314 } 1315 }); 1316 }); 1317 } 1318 }); 1319</script>
1319 1320<!-- FIM NOTIFICAÃÃES --> 1321<!-- SWEET ALERT (NECESSÃRIO PARA BOTÃO SAIR) -->
1322<script src="/js/sweetalert.min.js"></script>
1322 1323 1324<!-- ASSINAR -->
1325<script src="https://get.webpkiplugin.com/Scripts/LacunaWebPKI/lacuna-web-pki-2.12.0.min.js" integrity="sha256-jDF8LDaAvViVZ7JJAdzDVGgY2BhjOUQ9py+av84PVFA=" crossorigin="anonymous"></script>
1325 1326
1327<script> 1328 // FUNÃÃES JS 1329 $(document).ready(function() { 1330 1331 // FUNÃÃO PARA ACIONAR DROP DO LOGIN DO INTERNAUTA MOBILE 1332 $(window).click(function() { $("#itn_area_botoes_internauta").removeClass("itn_area_botoes_internauta_show"); }); 1333 $(".itn_area_img_internauta").on("click", function() { 1334 event.stopPropagation(); 1335 $("#itn_area_botoes_internauta").toggleClass("itn_area_botoes_internauta_show"); 1336 }); 1337 1338 // ACIONANDO POPUP LOGIN 1339 $(".itn_btn_login").click(function() { 1340 sw_popup("#itn_login", "S"); 1341 }); 1342 1343 // RECUPERAÃÃO DE SENHA 1344 $("#link_senha").click(function() { sw_abrir_janela("/portal/internautas/recuperar-senha", 450, 600) }); 1345 1346 // SAIR 1347 $("#sair_internauta").click(function() { 1348 swal({ 1349 title: "Atenção!", 1350 text: "Deseja realmente sair do portal?", 1351 icon: "warning", 1352 buttons: ["Cancelar", "OK"], 1353 }) 1354 .then(function(acao) { 1355 if(acao === true) 1356 { 1357 location.href = "/portal/internautas/sair"; 1358 } 1359 }); 1360 }); 1361 1362 }); 1363 1364 // ABRIR POPUP INTERNAUTA 1365 function abrir_popup_internautas(elemento) { 1366 sw_abrir_popup(elemento); 1367 $("#cpf_cnpj_email").focus(); 1368 } 1369 1370 // FECHAR POPUP INTERNAUTA 1371 function fechar_popup_internautas(elemento) { 1372 verifica_popups_termos(); 1373 sw_fechar_popup(elemento); 1374 } 1375 1376 // TRANSFORMAR DADOS EM MAIÃSCULOS 1377 function internautas_transformar_string(string) 1378 { 1379 if(string.value != "" && string.id != "") 1380 { 1381 $("#"+string.id).val(string.value.toUpperCase()); 1382 } 1383 } 1384 1385 // FORMATA VALOR (CPF OU CNPJ) 1386 function formata_cpf_cnpj(value) { 1387 const stripped = value.replace(/[.\/-]/g, '').toUpperCase(); 1388 1389 if (stripped.length === 11 && /^\d{11}$/.test(stripped)) { 1390 return stripped.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/, '$1.$2.$3-$4'); 1391 } 1392 1393 if (stripped.length === 14) { 1394 return stripped.replace(/^([A-Z\d]{2})([A-Z\d]{3})([A-Z\d]{3})([A-Z\d]{4})(\d{2})$/, '$1.$2.$3/$4-$5'); 1395 } 1396 } 1397 1398 // VALIDAR CPF 1399 function validar_cpf(cpf) 1400 { 1401 cpf = cpf.replace(/[^\d]+/g,''); 1402 if(cpf == '') return false; 1403 // Elimina CPFs invalidos conhecidos 1404 if (cpf.length != 11 || cpf == "00000000000" || cpf == "11111111111" || cpf == "22222222222" || cpf == "33333333333" || cpf == "44444444444" || cpf == "55555555555" || cpf == "66666666666" || cpf == "77777777777" || cpf == "88888888888" || cpf == "99999999999") return false; 1405 // Valida 1o digito 1406 add = 0; 1407 for (i=0; i < 9; i ++) 1408 add += parseInt(cpf.charAt(i)) * (10 - i); 1409 rev = 11 - (add % 11); 1410 if (rev == 10 || rev == 11) 1411 rev = 0; 1412 if (rev != parseInt(cpf.charAt(9))) 1413 return false; 1414 // Valida 2o digito 1415 add = 0; 1416 for (i = 0; i < 10; i ++) 1417 add += parseInt(cpf.charAt(i)) * (11 - i); 1418 rev = 11 - (add % 11); 1419 if (rev == 10 || rev == 11) 1420 rev = 0; 1421 if (rev != parseInt(cpf.charAt(10))) 1422 return false; 1423 return true; 1424 } 1425 1426 // VALIDAR CNPJ 1427 function validar_cnpj(cnpj) 1428 { 1429 if (/[^A-Z\d.\/-]/i.test(cnpj)) 1430 return false; 1431 1432 cnpj = cnpj.replace(/[.\/-]/g, '').toUpperCase(); 1433 1434 if (!/^[A-Z\d]{12}\d{2}$/.test(cnpj) || cnpj === '00000000000000' || cnpj === '11111111111111' || cnpj === '22222222222222' || cnpj === '33333333333333' || cnpj === '44444444444444' || cnpj === '55555555555555' || cnpj === '66666666666666' || cnpj === '77777777777777' || cnpj === '88888888888888' || cnpj === '99999999999999') 1435 return false; 1436 1437 var pesosDV = [6, 5, 4, 3, 2, 9, 8, 7, 6, 5, 4, 3, 2]; 1438 var base = cnpj.substring(0, 12); 1439 var soma1 = 0, soma2 = 0; 1440 1441 for (var i = 0; i < 12; i++) { 1442 var val = base.charCodeAt(i) - 48; 1443 soma1 += val * pesosDV[i + 1]; 1444 soma2 += val * pesosDV[i]; 1445 } 1446 1447 var dv1 = soma1 % 11 < 2 ? 0 : 11 - (soma1 % 11); 1448 soma2 += dv1 * pesosDV[12]; 1449 var dv2 = soma2 % 11 < 2 ? 0 : 11 - (soma2 % 11); 1450 1451 return cnpj.substring(12) === ('' + dv1 + dv2); 1452 } 1453 1454 //// 1455 1456 1457 // VERIFICA SE ACABOU OS TERMOS PARA REDIRECIONAR INTERNAUTA 1458 function verifica_popups_termos() 1459 { 1460 var contador = $('#cont_popup').val(); 1461 var link = $('#link').val(); 1462 1463 if(contador - 1 == 0 || contador == "") 1464 { 1465 setTimeout(function() { 1466 var elemento = ".itn_consentimentos"; 1467 elemento = $(""+elemento+""); 1468 fechar_popup_internautas(elemento); 1469 1470 var elemento_link = ".itn_consentimentos_link"; 1471 elemento_link = $(""+elemento_link+""); 1472 fechar_popup_internautas(elemento_link); 1473 1474 var url_atual = window.location.pathname; 1475 1476 // REDIRECIONA APENAS QUANDO LOGAR OU CADASTRAR 1477 if(url_atual != "/portal/internautas/dados" && url_atual != "/portal/internautas/dados/consentimentos" && url_atual != "/portal/internautas/dados/preferencias") 1478 { 1479 if(link == "/portal/internautas/alterar") 1480 { 1481 location.href = link; 1482 } 1483 else if(link != "" && link != undefined) 1484 { 1485 location.href = link; 1486 } 1487 else 1488 { 1489 location.href = '/portal/prefeito/13/1'; 1490 } 1491 } 1492 1493 $('#cont_popup').val("0"); 1494 1495 }, 300); 1496 } 1497 else 1498 { 1499 contador = contador - 1; 1500 $('#cont_popup').val(contador); 1501 } 1502 1503 return contador; 1504 } 1505
1506 // SE ESTIVER NA PÃGINA DE CONSENTIMENTOS (ACEITANDO, RECUSANDO OU REVOGANDO) A PÃGINA DEVERÃ SER RECARREGADA 1507 function redireciona_internauta_consentimento() 1508 { 1509 setTimeout(function() { 1510 if(window.location.pathname == "/portal/internautas/dados/consentimentos" || window.location.pathname == "/portal/internautas/dados") 1511 { 1512 location.href = window.location.pathname; 1513 } 1514 }, 800); 1515 } 1516 1517 // CLICK DO BOTÃO OK (QUANDO ENTRAR EM UMA FERRAMENTA QUE TIVER TERMO DO TIPO EMITE AVISO QUE FOI ENVIADO UM E-MAIL PARA CONFIRMAÃÃO) 1518 function btn_ok(id_consentimento) 1519 { 1520 if(id_consentimento != "") 1521 { 1522 var elemento = "#itn_consentimentos_int_"+id_consentimento; 1523 elemento = $(""+elemento+""); 1524 fechar_popup_internautas(elemento); 1525 } 1526 } 1527 1528 // CLICK DO BOTÃO REENVIAR 1529 function btn_reenviar_consentimento(id_consentimento) 1530 { 1531 if(id_consentimento != "") 1532 { 1533 var elemento = "#itn_consentimentos_int_"+id_consentimento; 1534 elemento = $(""+elemento+""); 1535 1536 $.post('/portal/internautas/acao/', {acao:"reenviar_consentimento", consentimento:id_consentimento}, retorno); 1537 1538 function retorno(data) 1539 { 1540 fechar_popup_internautas(elemento); 1541 } 1542 } 1543 } 1544 1545 // EXIBE MENSAGENS DE SUCESSO E ERRO 1546 function int_msg_erro(mensagem) 1547 { 1548 $("#conteudo_esquerda").append('<div class="sw_lato sw_aviso_suspenso sw_aviso_suspenso_erro" style="display:none;"><i class="swfa fas fa-times-circle-o"></i><span>'+mensagem+'</span></div>'); 1549 $(".sw_aviso_suspenso_erro").fadeIn("slow"); 1550 1551 setTimeout(function() { 1552 $(".sw_aviso_suspenso_erro").fadeOut("slow"); 1553 }, 1500); 1554 } 1555 1556 function int_msg_sucesso(mensagem) 1557 { 1558 $("#conteudo_esquerda").append('<div class="sw_lato sw_aviso_suspenso sw_aviso_suspenso_sucesso" style="display:none;"><i class="swfa fas fa-check-circle-o"></i><span>'+mensagem+'</span></div>'); 1559 $(".sw_aviso_suspenso_sucesso").fadeIn("slow"); 1560 1561 setTimeout(function() { 1562 $(".sw_aviso_suspenso_sucesso").fadeOut("slow"); 1563 }, 1500); 1564 } 1565 1566 // CLICK DO BOTÃO "CONFIRMAR CÃDIGO" 1567 function btn_confirmar_codigo_consentimento(id_consentimento) 1568 { 1569 var codigo = $("#form_codigo_confirmacao_consentimento").val(); 1570 1571 if(id_consentimento != "" && codigo != "") 1572 { 1573 var elemento = "#itn_consentimentos_int_"+id_consentimento; 1574 elemento = $(""+elemento+""); 1575 1576 $.post('/portal/internautas/acao/', {acao:"confirmar_codigo_consentimento", consentimento:id_consentimento, codigo:codigo}, retorno); 1577 1578 function retorno(data) 1579 { 1580 data = JSON.parse(data); 1581 1582 fechar_popup_internautas(elemento); 1583 1584 if(data.resultado == "sucesso") 1585 { 1586 int_msg_sucesso("Consentimento confirmado com sucesso!"); 1587 } 1588 else 1589 { 1590 int_msg_erro("Erro ao confirmar consentimento!"); 1591 } 1592 } 1593 } 1594 } 1595 1596 // EXIBE MENSAGEM DE ERRO NO PROCESSO (CASO FALTE ALGUM DADO) 1597 function exibe_mensagem_erro_processo() 1598 { 1599 $(".sw_area_botoes_popup").hide(); 1600 $(".sw_conteudo_popup").html('<div class="sw_aviso sw_aviso_erro sw_lato"><i class="swfa fas fa-exclamation-triangle"></i> <span>Ops, algo deu errado. Tente novamente mais tarde.</span></div>'); 1601 1602 // setTimeout(function() { 1603 // fechar_popup_internautas(elemento); 1604 // }, 1000); 1605 } 1606 1607 1608 // CLICK DO BOTÃO ACEITAR 1609 function btn_aceitar(id_consentimento, id_termo) 1610 { 1611 if(id_consentimento != "" && id_consentimento != undefined) 1612 { 1613 var elemento = "#itn_consentimentos_int_"+id_consentimento; 1614 elemento = $(""+elemento+""); 1615 1616 $.post('/portal/internautas/acao/', {acao:"responder_consentimento", consentimento:id_consentimento, valor:"S"}, retorno); 1617 1618 function retorno(data) 1619 { 1620 data = JSON.parse(data); 1621 1622 fechar_popup_internautas(elemento); 1623 1624 if(data.resultado == "sucesso") 1625 { 1626 int_msg_sucesso("Consentimento aceito com sucesso!"); 1627 } 1628 else 1629 { 1630 int_msg_erro("Erro ao aceitar consentimento!"); 1631 } 1632 1633 redireciona_internauta_consentimento(); 1634 } 1635 } 1636 else 1637 { 1638 exibe_mensagem_erro_processo(); 1639 } 1640 } 1641 1642 // CLICK DO BOTÃO RECUSAR 1643 function btn_recusar(id_consentimento, id_termo, obrigatorio) 1644 {
1645 // VERIFICA SE TERMO à OBRIGATÃRIO PARA SOLICITAR CONFIRMAÃÃO 1646 if(obrigatorio == "S") 1647 { 1648 swal({ 1649 text: "Tem certeza que deseja recusar? à obrigatório a aceitação desse termo.", 1650 icon: "warning", 1651 buttons: ['Cancelar', 'OK'] 1652 }) 1653 .then(function(acao) { 1654 if(acao === true) 1655 { 1656 if(id_consentimento != "" && id_consentimento != undefined) 1657 { 1658 1659 var elemento = "#itn_consentimentos_int_"+id_consentimento; 1660 elemento = $(""+elemento+""); 1661 1662 $.post('/portal/internautas/acao/', {acao:"responder_consentimento", consentimento:id_consentimento, valor:"N", termo:id_termo}, retorno); 1663 1664 function retorno(data) 1665 { 1666 data = JSON.parse(data); 1667 1668 elemento.find(".sw_area_botoes_popup").hide(); 1669 1670 fechar_popup_internautas(elemento); 1671 1672 if(data.resultado == "sucesso") 1673 { 1674 int_msg_sucesso("Consentimento recusado com sucesso!"); 1675 } 1676 else 1677 { 1678 int_msg_erro("Erro ao recusar consentimento!"); 1679 } 1680 1681 redireciona_internauta_consentimento(); 1682 } 1683 } 1684 else 1685 { 1686 exibe_mensagem_erro_processo(); 1687 } 1688 } 1689 }); 1690 } 1691 else 1692 { 1693 if(id_consentimento != "" && id_consentimento != undefined) 1694 { 1695 var elemento = "#itn_consentimentos_int_"+id_consentimento; 1696 elemento = $(""+elemento+""); 1697 1698 $.post('/portal/internautas/acao/', {acao:"responder_consentimento", consentimento:id_consentimento, valor:"N", termo:id_termo}, retorno); 1699 1700 function retorno(data) 1701 { 1702 data = JSON.parse(data); 1703 1704 elemento.find(".sw_area_botoes_popup").hide(); 1705 1706 fechar_popup_internautas(elemento); 1707 1708 if(data.resultado == "sucesso") 1709 { 1710 int_msg_sucesso("Consentimento recusado com sucesso!"); 1711 } 1712 else 1713 { 1714 int_msg_erro("Erro ao recusar consentimento!"); 1715 } 1716 1717 redireciona_internauta_consentimento(); 1718 } 1719 } 1720 else 1721 { 1722 exibe_mensagem_erro_processo(); 1723 } 1724 } 1725 } 1726 1727 // CLICK DO BOTÃO REVOGAR (ENVIAR - REVOGAR DE FATO) 1728 function btn_revogar(id_consentimento) 1729 { 1730 var motivo = $("#motivo_revogar").val(); 1731 1732 if(id_consentimento != "" && id_consentimento != undefined) 1733 { 1734 var elemento = "#itn_consentimentos_int_"+id_consentimento; 1735 elemento = $(""+elemento+""); 1736 1737 $.post('/portal/internautas/acao/', {acao:"revogar_consentimento", consentimento:id_consentimento, motivo:motivo}, retorno); 1738 1739 function retorno(data) 1740 { 1741 data = JSON.parse(data); 1742 1743 fechar_popup_internautas(elemento); 1744 1745 if(data.resultado == "sucesso") 1746 { 1747 int_msg_sucesso("Consentimento revogado com sucesso!"); 1748 } 1749 else 1750 { 1751 int_msg_erro("Erro ao revogar consentimento!"); 1752 } 1753 1754 redireciona_internauta_consentimento(); 1755 } 1756 } 1757 else 1758 { 1759 exibe_mensagem_erro_processo(); 1760 } 1761 } 1762 1763 // CLICK NO BOTÃO REVOGAR PARA EXIBIR CAMPO DO MOTIVO 1764 function btn_revogar_motivo(id_consentimento) 1765 { 1766 // EXIBE CAMPO PARA INFORMAR MOTIVO 1767 $(".itn_area_motivo").fadeIn(); 1768 1769 // DESCE TELA 1770 $(".sw_popup_modal").animate({ scrollTop: $(document).height() }, 1000); 1771 1772 // SETA NOVO ONCLICK PARA BOTÃO E REMOVE CLASSE 1773 $(".itn_btn_revogar").attr("onClick", "btn_revogar("+id_consentimento+")"); 1774 $(".itn_btn_revogar").removeClass("itn_btn_revogar_cinza"); 1775 1776 // ADICIONA FOCO NO CAMPO 1777 $("#motivo_revogar").focus(); 1778 } 1779 1780 1781 // CLICK DO BOTÃO ASSINAR 1782 function btn_assinar(id_consentimento, id_termo, arquivo, diretorio, origem) 1783 { 1784 // DESABILITA BOTÃO 1785 $("#itn_consentimentos_int_"+id_consentimento).find(".itn_btn_aceitar").attr("disabled", "disabled"); 1786 $("#itn_consentimentos_int_"+id_consentimento).find(".itn_btn_aceitar").fadeOut(); 1787 1788 var elemento = "#itn_consentimentos_int_"+id_consentimento; 1789 elemento = $(""+elemento+""); 1790 1791 1792 // AUTORIZADO OK SIGNIFICA QUE TEM CREDITOS PARA GASTAR COM A OPERAÃÃO, SE NÃO HOUVER VAI RETORNAR MENSSAGEM DE ERRO AO USUÃRIO 1793 if('ok' != 'ok') 1794 { 1795 swal({ 1796 text: "Você não possui créditos para assinar o documento, favor entrar em contato com Prefeitura Municipal de Barbacena.", 1797 icon: "error" 1798 }); 1799 } 1800 else 1801 { 1802 // EXTRAI EXTENSÃO DO ARQUIVO 1803 var coleta_extensao = arquivo.split("."); 1804 1805 // VERIFICA SE O ARQUIVO à UM PDF 1806 if (coleta_extensao[1] != "pdf") 1807 { 1808 swal({ 1809 text: "Extensão inválida, somente arquivos PDF podem ser assinados", 1810 icon: "error" 1811 }); 1812 } 1813 else 1814 { 1815 // CARREGA SELECT E MENSAGEM 1816 $("#itn_consentimentos_int_"+id_consentimento).find(".sw_area_botoes_popup").append('<div class="itn_area_assinatura"><div class="sw_aviso sw_aviso_alerta sw_lato"><i class="swfa fas fa-exclamation-triangle"></i><span>Por favor, selecione o certificado digital desejado para assinar este documento logo abaixo.</span></div><select id="certificateSelect"><option value="0">Selecione seu certificado A3...</option></select></div>'); 1817 1818 // EXIBE SELECT E MENSAGEM 1819 $(".itn_area_assinatura").fadeIn(); 1820 1821 // CRIA OBJETO PARA MANIPULAÃÃO DOAS CERTIFICADOS E ASSINATURAS
1822 var pki = new LacunaWebPKI(); 1823 pki.init({ 1824 ready: onWebPkiReady, 1825 notInstalled: onWebPkiNotInstalled, 1826 defaultError: onWebPkiError, 1827 restPkiUrl: 'https://pki.rest/' 1828 }); 1829 1830 // FUNÃÃO DE LISTAGEM DOS CERTIFICADOS 1831 function onWebPkiReady () { 1832 1833 pki.listCertificates().success(function (certs) { 1834 var selecao = $("#certificateSelect"); 1835 1836 $.each(certs, function() { 1837 // VERIFICA SE à PESSOA FÃSICA OU JURÃDICA 1838 if(this.pkiBrazil.isPessoaFisica) 1839 { 1840 var doc = this.pkiBrazil.cpf; 1841 var doc_internauta = ""; 1842 } 1843 else 1844 { 1845 var doc = this.pkiBrazil.cnpj; 1846 var doc_internauta = ""; 1847 } 1848 1849 var validadefim = this.validityEnd; 1850 1851 // VERIFICA DOCUMENTO 1852 if(doc == doc_internauta) 1853 { 1854 selecao.append($('<option data-doc="'+doc+'" data-validadefim="'+validadefim+'" />').val(this.thumbprint) 1855 .text(this.subjectName) 1856 ); 1857 } 1858 }); 1859 }); 1860 } 1861 1862 // FUNÃÃO SE O PLUGIN NÃO ESTIVER INSTALADO 1863 function onWebPkiNotInstalled (status, message) { 1864 1865 swal({ 1866 text: "Plugin do Assinador não instalado, você será redirecionado para página de instalação.", 1867 icon: "warning" 1868 }) 1869 .then(function() { 1870 pki.redirectToInstallPage(); 1871 }); 1872 } 1873 1874 // FUNÃÃO PARA IMPRIMIR O ERRO CASO OCORRA 1875 function onWebPkiError(message, error, origin) { 1876 1877 swal({ 1878 text: "Erro ao assinador documento. Token/certificado não foi reconhecido. Tente conecta-lo em outra porta ou reinicie o navegador.", 1879 icon: "error" 1880 }) 1881 .then(function() { 1882 $("#sw_carregando_dados").hide(); 1883 }); 1884 1885 } 1886 1887 // CARREGA E EXIBE BOTÃO 1888 $("#itn_consentimentos_int_"+id_consentimento).find(".sw_area_botoes_popup").append('<div class="sw_btn_popup sw_btn_aceitar itn_btn_aceitar" id="signPDFButton" style="display:none;"><i class="swfa fas fa-check-circle-o" aria-hidden="true"></i><span>ASSINAR PDF</span></div>'); 1889 1890 $("#signPDFButton").fadeIn(); 1891 1892 // PASSA OS VALORES O BOTÃO "ASSINAR PDF" DENTRO DA SELEÃÃO DOS CERTIFICADOS 1893 $('#signPDFButton').attr("data-arquivo", arquivo); 1894 $('#signPDFButton').attr("data-diretorio", diretorio); 1895 $('#signPDFButton').attr("data-origem", origem); 1896 $('#signPDFButton').attr("data-codigo", id_consentimento); 1897 1898 // CLICK DO BOTÃO ASSINAR PDF 1899 $('#signPDFButton').click(function(){ 1900 1901 if(($('#certificateSelect').val() != null) && ($('#certificateSelect').val() != '0')) 1902 { 1903 // CARREGANDO 1904 $("#sw_carregando_dados").show(); 1905 1906 // VALOR DO CERTIFCADO SELECIONADO 1907 var selectedCertThumb = $('#certificateSelect').val(); 1908 1909 // VALOR COM ARQUIVO QUE SERà ASSINADO 1910 var arquivo = $(this).attr("data-arquivo"); 1911 1912 // VALOR COM O DIRETÃRIO DO ARQUIVO QUE SERà ASSINADO 1913 var diretorio = $(this).attr("data-diretorio"); 1914 1915 // MONTA DIRETÃRIO COMPLETO PARA O ARQUIVO QUE SERà ASSSINADO 1916 var arquivo_completo = diretorio+arquivo; 1917 1918 // VALOR COM O NOME DO CERTIFICADO DIGITAL ESCOLHIDO 1919 var emissor = $('#certificateSelect option:selected').text(); 1920 1921 // VALOR COM O DOCUMENTO DO CERTIFICADO QUE FOI ESCOLHIDO 1922 var documento = $('#certificateSelect option:selected').attr("data-doc"); 1923 1924 // VALOR COM A VALIDADE DO CERTIFICADO ESCOLHIDO 1925 var finalvalidade = $('#certificateSelect option:selected').attr("data-validadefim"); 1926 1927 // VALOR COM A ORIGEM DA PAGINA ONDE O ARQUIVO ESTA SENDO ASSINADO 1928 var origem = $(this).attr("data-origem"); 1929 1930 // VALOR COM O ID DO ARQUIVO QUE ESTA SENDO ASSINADO 1931 var codigo = $(this).attr("data-codigo"); 1932 1933 // PRIMEIRO POST INICIA O PROCESSO DE ASSINATURA 1934 $.post('/sg/assinador_a3.php', {arquivo:arquivo_completo, carimbo_tempo:'S', etapa:'1'}, retorno1); 1935 function retorno1(data1) 1936 { 1937 // FUNÃÃO QUE ASSINA O ARQUIVO 1938 pki.signWithRestPki({ 1939 token: data1, 1940 thumbprint: selectedCertThumb 1941 }).success(function () { 1942 1943 // SEGUNDO POST IRà MONTAR O ARQUIVO ASSINADO 1944 $.post('/sg/assinador_a3.php', {token:data1, endereco:"../../tmp/", original:arquivo, origem:"Internautas", etapa: '2'}, retorno2); 1945 function retorno2(data2) 1946 { 1947 // TERCEIRO POST IRà ATUALIZAR O BANCO DE DADOS, CONFORME OS ATRIBUTOS PASSADOS 1948 $.post('/sg/assinador_a3.php', {origem: origem, codigo: codigo, titular: emissor, doc: documento, validade_cert:finalvalidade, pacote:'mensal', arquivo_completo:arquivo_completo, carimbo_tempo:'S', arquivo: arquivo, internauta: "", arquivo_assinad
1948o: data2, etapa: '3'}, retorno3); 1949 function retorno3(data3) 1950 { 1951 data3 = JSON.parse(data3); 1952 1953 // CARREGANDO 1954 $("#sw_carregando_dados").hide(); 1955 1956 // FECHA POPUP E EXIBE MENSAGEM 1957 fechar_popup_internautas(elemento); 1958 1959 if(data3.resultado == "sucesso") 1960 { 1961 int_msg_sucesso("Consentimento aceito com sucesso!"); 1962 } 1963 else 1964 { 1965 int_msg_erro("Erro ao aceitar consentimento!"); 1966 } 1967 } 1968 } 1969 }); 1970 } 1971 } 1972 else 1973 { 1974 alert ("Nenhum certificado selecionado."); 1975 } 1976 }); // FIM $('#signPDFButton').click(function() 1977 } // FIM else verifica extensao do arquivo 1978 } // FIM else verifica os créditos 1979 } 1980</script>
vendor: 1 bytes, line 1980
1980
1981<script> 1982 $(document).ready(function() { 1983 // FORMATA VALOR CONFORME INFORMA 1984 $("#cpf_cnpj_email").keyup(function() { 1985 var valor_formatado = formata_cpf_cnpj($(this).val()); 1986 1987 if(valor_formatado != undefined) 1988 { 1989 $(this).val(valor_formatado); 1990 } 1991 }); 1992 1993 // CONFIRMAÃÃO CAPTCHA 1994 $("#form_login").submit(function(e) { 1995 var response = grecaptcha.getResponse(captchaLogin); 1996 if(response.length == 0) 1997 { 1998 grecaptcha.reset(captchaLogin); 1999 swal({ 2000 text: "Ops, captcha confirmado incorretamente. Por favor, preencha-o para continuar!", 2001 icon: "warning" 2002 }); 2003 e.preventDefault(); 2004 return false; 2005 } 2006 }); 2007 2008 $("#entrar_google").click(function(){ 2009 window.location.href="/internautas_login_servicos.php?tipo=google" 2010 }); 2011 }); 2012</script>
2012 2013 2014<!-- PARA USAR DOIS CAPTCHAS -->
2015<script> 2016 var captchaLogin; 2017 var onloadCallbackLogin = function() { 2018 captchaLogin = grecaptcha.render('captchaLogin', { 2019 'sitekey' : '6LcnWxktAAAAAI1e2nW0Z5AWPlL3MgZgmXB9HXkp' 2020 }); 2021 }; 2022</script>
vendor: 125 bytes, lines 2022-2025
2022 2023<script src="https://www.google.com/recaptcha/api.js?onload=onloadCallbackLogin&render=explicit" async defer></script> 2024 2025
2025<!-- DADOS TOPO --> 2026 <div class="itn_area_login_internauta e_itn tamanho_fixo"> 2027 <div class="itn_conteudo_interno_login"> 2028 2029 <div class="itn_cont_login"><div class="itn_info_login">Faça seu login no portal</div></div> 2030 <div class="itn_cont_login"> 2031 <div class="itn_btn_login_internauta itn_btn_login"><span class="swfa fas fa-lock" aria-hidden="true"></span><span>Login / Cadastro</span></div> 2032 </div> 2033 </div> 2034 </div> 2035 <!-- DADOS TOPO --> 2036 2037 2038<!-- FORMULÃRIO DE LOGIN E CADASTRO --> 2039<div class="sw_popup_modal" id="itn_login"> 2040 <div class="sw_popup"> 2041 <div class="sw_btn_fechar_popup"><span class="swfa fas fa-times" aria-hidden="true"></span></div> 2042 <!-- LOGIN --> 2043 <div class="itn_area_form_login"> 2044 <div class="sw_titulo_popup sw_lato_bold"> 2045 <span>LOGIN</span> 2046 <a href="https://www1.barbacena.mg.gov.br/portal/internautas/cadastrar/pf"> 2047 <div class="itn_btn_cadastro sw_lato_medium"><span>Cadastre-se</span><span class="swfa fas fa-user-plus" aria-hidden="true"></span></div> 2048 </a> 2049 </div> 2050 <div class="sw_descricao_popup sw_lato">Informe seus dados para acessar</div> 2051 2052 <form action="https://www1.barbacena.mg.gov.br/portal/internautas/login" id="form_login" method="post" autocomplete="off"> 2053 <div class="itn_area_campos_login"> 2054 <label for="cpf_cnpj_email" class="sw_lato_bold">CPF, CNPJ ou e-mail</label> 2055 <input type="text" id="cpf_cnpj_email" name="cpf_cnpj_email" class="sw_lato" autocomplete="off" required> 2056 </div> 2057 2058 <div class="itn_area_campos_login"> 2059 <label for="senha" class="sw_lato_bold">Senha</label> 2060 <input type="password" id="senha" name="senha" class="sw_lato" autocomplete="off" required> 2061 </div> 2062 2063 <div class="itn_area_campos_login itn_recuperar_login_senha sw_lato_bold">Esqueci minha <span id="link_senha" class="sw_lato_bold">senha</span></div> 2064 2065 <div class="itn_area_campos_login itn_area_campos_login_recaptcha"> 2066 <div class="g-recaptcha-login" id="captchaLogin"></div> 2067 </div> 2068 2069 <button type="submit" name="login" value="LOGAR" class="itn_btn_login sw_lato_bold">ENTRAR</button> 2070 </form> 2071 2072 </div> 2073 2074 <!-- CADASTRAR --> 2075 <div class="itn_area_form_cadastro"> 2076 <div class="sw_titulo_popup sw_lato_bold"><span>CADASTRO</span></div> 2077 <div class="sw_descricao_popup sw_lato">Faça seu cadastro gratuitamente</div> 2078 2079 <a href="https://www1.barbacena.mg.gov.br/portal/internautas/cadastrar/pj"> 2080 <div class="itn_btn_pj"> 2081 <span class="itn_nome_btn sw_lato_bold">Pessoa JurÃdica</span> 2082 <span class="itn_descricao_btn sw_lato_italic">Clique para se cadastrar</span> 2083 </div> 2084 </a> 2085 2086 <a href="https://www1.barbacena.mg.gov.br/portal/internautas/cadastrar/pf"> 2087 <div class="itn_btn_pf"> 2088 <span class="itn_nome_btn sw_lato_bold">Pessoa FÃsica</span> 2089 <span class="itn_descricao_btn sw_lato_italic">Clique para se cadastrar</span> 2090 </div> 2091 </a> 2092 </div> 2093 </div> 2094</div><!-- TOPO --> 2095<div id="e_cont_topo" class="tamanho_fixo"> 2096 <!-- ACESSIBILIDADE --> 2097 <div class="e_area_acessibilidade"> 2098 <div id="e_acessibilidade"></div> 2099 </div> 2100 <!-- ACESSIBILIDADE --> 2101 2102 <!-- BANNER TOPO --> 2103 <div id="e_banner_topo_dinamico" class="e_conteudo_interno_flex"> 2104 <!-- LINK DO BRASÃO --> 2105 <a href="/"> 2106 <div id="e_banner_topo_dinamico_clique"> 2107 <div id="logo_branca" class="img_contraste" style="display:none"> 2108 <img src="/img/logo_branca.png" alt="Logo"> 2109 </div> 2110 </div> 2111 </a> 2112 2113 <div class="flex flex-col flex-1 justify-between gap-10 ml-30"> 2114 <!-- MENU TOPO --> 2115 <div class="e_menu_topo"> 2116 <ul> 2117 <!-- Menu topo --> 2118 <li> 2119 <a href="/portal/servicos/14/institucional/" target="_self"> 2120 <div class="e_link_menu"> 2121 <div> 2122 INSTITUCIONAL </div> 2123 </div> 2124 </a> 2125 <div class="e_submenu"> 2126 <ul> 2127 <li> 2128 <a href="/portal/prefeito/13/1" target="_self"> 2129 <div class="e_link_submenu"> 2130 Prefeito(a) </div> 2131 </a> 2132 </li> 2133 <li> 2134 <a href="/portal/prefeito/14/2" target="_self"> 2135 <div class="e_link_submenu"> 2136 Vice-Prefeito(a) </div> 2137 </a> 2138 </li> 2139 <li> 2140 <a href="/portal/galeria-de-prefeitos/" target="_self"> 2141 <div class="e_link_submenu"> 2142 Galeria de Prefeitos </div> 2143 </a> 2144 </li> 2145 </ul> 2146 </div> 2147 </li> 2148 <li> 2149 <a href="/portal/secretarias/" target="_self"> 2150 <div class="e_link_menu"> 2151 <div> 2152 Secretarias </div> 2153 </div> 2154 </a> 2155 <div class="e_submenu"> 2156 <ul> 2157 <li> 2158 <a href="/portal/secretarias/19/advocacia-geral-do-municipio--agm" target="_self"> 2159 <div class="e_link_submenu"> 2160 Advocacia Geral do MunicÃpio | AGM </div> 2161 </a> 2162 </li> 2163 <li> 2164 <a href="/portal/secretarias/20/controladoria-geral-do-municipio--cgem" target="_self"> 2165 <div class="e_link_submenu"> 2166 Controladoria Geral do MunicÃpio | CGEM </div> 2167 </a> 2168 </li> 2169 <li> 2170 <a href="/portal/secretarias/28/secretaria-municipal-de-assistencia-social--semas" target="_self"> 2171 <div class="e_link_submenu"> 2172 Secretaria Municipal de Assistência Social | SEMAS </div> 2173 </a> 2174 </li> 2175 <li> 2176 <a href="/portal/secretarias/31/secretaria-municipal-de-saude--sesap" target="_self"> 2177 <div class="e_link_submenu"> 2178 Secretaria Municipal de Saúde | SESAP </div> 2179 </a> 2180 </li> 2181 <li> 2182 <a href="/portal/secretarias/24/secretaria-municipal-de-educacao--seduc" target="_self"> 2183 <div class="e_link_submenu"> 2184 Secretaria Municipal de Educação | SEDUC </div> 2185 </a> 2186 </li> 2187 <li> 2188 <a href="/portal/secretarias/60/secretaria-municipal-de-cultura-e-turismo--secult" target="_self"> 2189 <div class="e_link_submenu"> 2190 Secretaria Municipal de Cultura e Turismo | SECULT </div> 2191 </a> 2192 </li> 2193 <li> 2194 <a href="/portal/secretarias/62/secretaria-municipal-de-esportes-paradesporto-e-lazer--semesp" target="_self"> 2195 <div class="e_link_submenu"> 2196 Secretaria Municipal de Esportes, Paradesporto e Lazer | SEMESP </div> 2197 </a> 2198 </li> 2199 <li> 2200 <a href="/portal/secretarias/23/secretaria-municipal-de-agricultura-pecuaria-e-abastecimento--seapa" target="_self"> 2201 <div class="e_link_submenu"> 2202 Secretaria Municipal de Agricultura, Pecuária e Abastecimento | SEAPA </div> 2203 </a> 2204 </li> 2205 <li> 2206 <a href="/portal/secretarias/63/secretaria-municipal-de-meio-ambiente--semma" target="_self"> 2207 <div class="e_link_submenu"> 2208 Secretaria Municipal de Meio Ambiente | SEMMA </div> 2209 </a> 2210 </li> 2211 <li> 2212 <a href="/portal/secretarias/32/secretaria-municipal-de-seguranca-publica--ssp" target="_self"> 2213 <div class="e_link_submenu"> 2214 Secretaria Municipal de Segurança Pública | SSP </div> 2215 </a> 2216 </li> 2217 <li> 2218 <a href="/portal/secretarias/29/secretaria-municipal-de-obras-publicas--semop" target="_self"> 2219 <div class="e_link_submenu"> 2220 Secretaria Municipal de Obras Públicas | SEMOP </div> 2221 </a> 2222 </li> 2223
2223 <li> 2224 <a href="/portal/secretarias/65/secretaria-municipal-de-urbanismo--semur" target="_self"> 2225 <div class="e_link_submenu"> 2226 Secretaria Municipal de Urbanismo | SEMUR </div> 2227 </a> 2228 </li> 2229 <li> 2230 <a href="/portal/secretarias/30/secretaria-municipal-de-planejamento--seplan" target="_self"> 2231 <div class="e_link_submenu"> 2232 Secretaria Municipal de Planejamento | SEPLAN </div> 2233 </a> 2234 </li> 2235 <li> 2236 <a href="/portal/secretarias/25/secretaria-municipal-de-fazenda--sefaz" target="_self"> 2237 <div class="e_link_submenu"> 2238 Secretaria Municipal de Fazenda | SEFAZ </div> 2239 </a> 2240 </li> 2241 <li> 2242 <a href="/portal/secretarias/59/secretaria-municipal-de-administracao--semad" target="_self"> 2243 <div class="e_link_submenu"> 2244 Secretaria Municipal de Administração | SEMAD </div> 2245 </a> 2246 </li> 2247 <li> 2248 <a href="/portal/secretarias/27/secretaria-municipal-de-governo--segov" target="_self"> 2249 <div class="e_link_submenu"> 2250 Secretaria Municipal de Governo | SEGOV </div> 2251 </a> 2252 </li> 2253 <li> 2254 <a href="/portal/secretarias/61/secretaria-municipal-de-desenvolvimento-economico--sedec" target="_self"> 2255 <div class="e_link_submenu"> 2256 Secretaria Municipal de Desenvolvimento Econômico | SEDEC </div> 2257 </a> 2258 </li> 2259 <li> 2260 <a href="/portal/secretarias/64/secretaria-municipal-de-servicos-publicos--sesp" target="_self"> 2261 <div class="e_link_submenu"> 2262 Secretaria Municipal de Serviços Públicos | SESP </div> 2263 </a> 2264 </li> 2265 <li> 2266 <a href="/portal/secretarias/26/secretaria-municipal-do-gabinete-do-prefeito--segab" target="_self"> 2267 <div class="e_link_submenu"> 2268 Secretaria Municipal do Gabinete do Prefeito | SEGAB </div> 2269 </a> 2270 </li> 2271 </ul> 2272 </div> 2273 </li> 2274 <li> 2275 <a href="https://www1.barbacena.mg.gov.br/meio-ambiente" target="_self"> 2276 <div class="e_link_menu"> 2277 <div> 2278 Meio Ambiente </div> 2279 </div> 2280 </a> 2281 <div class="e_submenu"> 2282 <ul> 2283 <li> 2284 <a href="https://www1.barbacena.mg.gov.br/licenciamento-ambiental" target="_self"> 2285 <div class="e_link_submenu"> 2286 Licenciamento Ambiental </div> 2287 </a> 2288 </li> 2289 <li> 2290 <a href="https://www1.barbacena.mg.gov.br/intervencoes-ambientais-e-autorizacao" target="_self"> 2291 <div class="e_link_submenu"> 2292 Intervenções Ambientais </div> 2293 </a> 2294 </li> 2295 <li> 2296 <a href="https://www1.barbacena.mg.gov.br/castracao" target="_self"> 2297 <div class="e_link_submenu"> 2298 Castração </div> 2299 </a> 2300 </li> 2301 <li> 2302 <a href="https://www1.barbacena.mg.gov.br/codema" target="_self"> 2303 <div class="e_link_submenu"> 2304 CODEMA </div> 2305 </a> 2306 </li> 2307 <li> 2308 <a href="https://www1.barbacena.mg.gov.br/fiscalizacao" target="_self"> 2309 <div class="e_link_submenu"> 2310 Fiscalização </div> 2311 </a> 2312 </li> 2313 <li> 2314 <a href="https://leismunicipais.com.br/legislacao-municipal/1535/leis-de-barbacena/categorias/meio-ambiente" target="_self"> 2315 <div class="e_link_submenu"> 2316 Leg
2316islação Ambiental Municipal </div> 2317 </a> 2318 </li> 2319 <li> 2320 <a href="https://www.siam.mg.gov.br/sla/action/Consulta.do" target="_self"> 2321 <div class="e_link_submenu"> 2322 Legislação Ambiental Estadual </div> 2323 </a> 2324 </li> 2325 <li> 2326 <a href="https://www1.barbacena.mg.gov.br/portal/secretarias/63/secretaria-municipal-de-meio-ambiente--semma/" target="_self"> 2327 <div class="e_link_submenu"> 2328 Infraestrutura de Dados Espaciais </div> 2329 </a> 2330 </li> 2331 <li> 2332 <a href="https://www1.barbacena.mg.gov.br/portal/arquivos/1/16/0/0/0/0/0/0" target="_self"> 2333 <div class="e_link_submenu"> 2334 Licenças Ambientais Emitidas </div> 2335 </a> 2336 </li> 2337 </ul> 2338 </div> 2339 </li> 2340 <li> 2341 <a href="https://www1.barbacena.mg.gov.br/portal/diario-oficial" target="_self"> 2342 <div class="e_link_menu"> 2343 <div> 2344 EDOB </div> 2345 </div> 2346 </a> 2347 </li> 2348 <li> 2349 <a href="https://barbacena.mg.gov.br/ouvidoria/" target="_self"> 2350 <div class="e_link_menu"> 2351 <div> 2352 Ouvidoria </div> 2353 </div> 2354 </a> 2355 </li> 2356 <li> 2357 <a rel="noreferrer" href="https://transparencia.betha.cloud/#/XeZsCiVEdRP_pW2Y3zfH4Q==" target="_blank"> 2358 <div class="e_link_menu"> 2359 <div> 2360 Transparência </div> 2361 </div> 2362 </a> 2363 </li> 2364 <li> 2365 <a href="/portal/servicos_online/" target="_self"> 2366 <div class="e_link_menu"> 2367 <div> 2368 Serviços </div> 2369 </div> 2370 </a> 2371 <div class="e_submenu"> 2372 <ul> 2373 <li> 2374 <a rel="noreferrer" href="https://barbacena.mg.gov.br/atendimento/" target="_blank"> 2375 <div class="e_link_submenu"> 2376 AutoAtendimento </div> 2377 </a> 2378 </li> 2379 <li> 2380 <a href="/e-notas" target="_self"> 2381 <div class="e_link_submenu"> 2382 Nota Fiscal Eletrônica </div> 2383 </a> 2384 </li> 2385 <li> 2386 <a rel="noreferrer" href="https://barbacena.quasar.srv.br/alvara/" target="_blank"> 2387 <div class="e_link_submenu"> 2388 Alvarás e Inscrições </div> 2389 </a> 2390 </li> 2391 <li> 2392 <a rel="noreferrer" href="https://protocolo.betha.cloud/#/consulta-externa" target="_blank"> 2393 <div class="e_link_submenu"> 2394 Consulta de Processo </div> 2395 </a> 2396 </li> 2397 <li> 2398 <a rel="noreferrer" href=" https://e-gov.betha.com.br/cdweb/resource.faces?params=hlBNABSOaBFoPP-I0ySzJw==" target="_blank"> 2399 <div class="e_link_submenu"> 2400 Certidão Negativa de Débito </div> 2401 </a> 2402 </li> 2403 <li> 2404 <a rel="noreferrer" href="https://e-gov.betha.com.br/cdweb/03114-334/contribuinte/con_validacaodocumentos.faces" target="_blank"> 2405 <div class="e_link_submenu"> 2406 Validação de Documentos </div> 2407 </a> 2408 </li> 2409 <li> 2410 <a rel="noreferrer" href="https://barbacena.quasar.srv.br/alvara/taxas/acompanhamento.xhtml" target="_blank"> 2411 <div class="e_link_submenu"> 2412 2º Via do TLLF/ISSQN Anual </div> 2413 </a> 2414 </li> 2415 <li> 2416 <a rel="noreferrer" href="https://e-gov.betha.com.br/cdweb/03114-531/contribuinte/main.faces" target="_blank"> 2417 <div class="e_link_submenu"> 2418 Guias de Pagamentos Diversos </div> 2419 </a> 2420 </li> 2421 <li> 2422 <a href="/portal/servicos/1014/instalacoes-de-equipamentos/" target="_self"> 2423 <div class="e_link_submenu"> 2424 Instalações de Equipamentos </div> 2425 </a> 2426 </li> 2427 <li> 2428 <a href="/portal/servicos/1015/iptu/" target="_self"> 2429 <div class="e_link_submenu"> 2430 IPTU </div> 2431 </a> 2432 </li> 2433 <li> 2434 <a rel="noreferrer" href="/arquivos/formulario_itbi_28091450.pdf" target="_blank"> 2435 <div class="e_link_submenu"> 2436 I.T.B.I </div> 2437 </a> 2438 </li> 2439 <li> 2440 <a rel="noreferrer" href="https://leismunicipais.com.br/prefeitura/mg/barbacena" target="_blank"> 2441 <div class="e_link_submenu"> 2442 Leis Municipais </div> 2443 </a> 2444 </li> 2445 <li> 2446 <a href="/portal/servicos/1017/lei-de-anistia/" target="_self"> 2447 <div class="e_link_submenu"> 2448 Lei de Anistia </div> 2449 </a> 2450 </li> 2451 </ul> 2452 </div> 2453 </li> 2454 <!-- MENU TODOS --> 2455 <li class="e_li_menu_todos"> 2456 <div class="e_link_menu"> 2457 <div>
2458 <span class="swfa fas fa-bars" aria-hidden="true"></span><span class="e_trans">Serviços</span> 2459 </div> 2460 </div> 2461 2462 <div class="e_menu_todos"> 2463 <div class="e_cont_menu_todos"> 2464 <div class="e_cont_barra_menu_todos"> 2465 <ul> 2466 <li> 2467 <div class="e_cabecalho_links_menu_todos"> 2468 <span class="swfa fa fa-bars" aria-hidden="true"></span> 2469 Serviços </div> 2470 </li> 2471 2472 <li> 2473 <a href="https://www.barbacena.mg.gov.br/visitebarbacena/" target="_self"> 2474 <div class="e_link_menu_todos "> 2475 <span> 2476 Visite Barbacena </span> 2477 </div> 2478 </a> 2479 </li> 2480 <li> 2481 <a href="https://www.barbacena.mg.gov.br/seduc/" target="_self"> 2482 <div class="e_link_menu_todos "> 2483 <span> 2484 Divulgação de Vagas SEDUC </span> 2485 </div> 2486 </a> 2487 </li> 2488 <li> 2489 <a href="/portal/servicos/1018/servidor/" target="_self"> 2490 <div class="e_link_menu_todos e_titulo_subitens_menu"> 2491 <span> 2492 Servidor </span> 2493 </div> 2494 </a> 2495 </li> 2496 <li> 2497 <a rel="noreferrer" href="https://login.betha.cloud/servicelogin/login.faces?app=1ac9103b-8245-4361-a12e-80e71df92c1a&continue=dUt3pl7deSJcIfYbNgSBvyszrVx7CtLXMQ8SyjaTDIyAxIspOkXzLADGEjv59FmVkDvvSbpRV9h8ufTnTBpXO7RI651ay-4WbURlh-soP7G7sfmWlHbLmGMYy6ZHGCJeWhKBDtgx5rOC6EAkY9q048soyleXsqdfPqY1vT_lDzhl_dh4VfnmfF3ATZdqA01aY8x3jx-nulXLb46558-PXMVhZM3k2FDPHT-UwJCARoumaAkGfZoj2zZwPJ_InmlJzem8tQWs1rg_HWFQq43SoKNV2ik1RG6QH2LpsNicdE-aaJAccC-3G6wP4BuI1luSU8A72A8w1hWODVy0mxbHqvwbyXTx1DOpYebTr3YrpUb0g-Cq-JF7CAhCi8SNtODB2LdjCNeA1slEgjJNej-aQw==&mobile=false" target="_blank"> 2498 <div class="e_link_menu_todos e_subitem_menu "> 2499 <div> 2500 <sp
2500an>Portal</span> 2501 </div> 2502 </div> 2503 </a> 2504 </li> 2505 <li> 2506 <a rel="noreferrer" href="https://login.betha.cloud/servicelogin/login.faces?app=1ac9103b-8245-4361-a12e-80e71df92c1a&continue=dUt3pl7deSJcIfYbNgSBvyszrVx7CtLXMQ8SyjaTDIyAxIspOkXzLADGEjv59FmVkDvvSbpRV9h8ufTnTBpXO7RI651ay-4WbURlh-soP7G7sfmWlHbLmGMYy6ZHGCJeWhKBDtgx5rOC6EAkY9q048soyleXsqdfPqY1vT_lDzhl_dh4VfnmfF3ATZdqA01aY8x3jx-nulXLb46558-PXMVhZM3k2FDPHT-UwJCARoumaAkGfZoj2zZwPJ_InmlJzem8tQWs1rg_HWFQq43SoKNV2ik1RG6QH2LpsNicdE-aaJAccC-3G6wP4BuI1luSU8A72A8w1hWODVy0mxbHqvwbyXTx1DOphPaWJRdc4bibGTNIlImgcNi4hEYIYn2nfaqcFvR_3mZrMCO5IjEopQ==&mobile=false" target="_blank"> 2507 <div class="e_link_menu_todos e_subitem_menu "> 2508 <div> 2509 <span>SIMPAS</span> 2510 </div> 2511 </div> 2512 </a> 2513 </li> 2514 <li> 2515 <a rel="noreferrer" href="/arquivos/para_acessar_o_novo_portal_minha_folha_28095335.pdf" target="_blank"> 2516 <div class="e_link_menu_todos e_subitem_menu "> 2517 <div> 2518 <span>Como Acessar O Portal</span> 2519 </div> 2520 </div> 2521 </a> 2522 </li> 2523 <li> 2524 <a rel="noreferrer" href="https://leismunicipais.com.br/a1/estatuto-do-servidor-publico-barbacena-mg" target="_blank"> 2525 <div class="e_link_menu_todos e_subitem_menu e_ultimo_subitem_menu"> 2526 <div> 2527 <span>Estatuto do Servidor</span> 2528 </div> 2529 </div> 2530 </a> 2531 </li> 2532 <li> 2533 <a href="https://www1.barbacena.mg.gov.br/consulta-publica/" target="_self"> 2534 <div class="e_link_menu_todos "> 2535 <sp
2535an> 2536 PPP </span> 2537 </div> 2538 </a> 2539 </li> 2540 <li> 2541 <a href="https://www1.barbacena.mg.gov.br/ppa" target="_self"> 2542 <div class="e_link_menu_todos "> 2543 <span> 2544 PPA - PLANO PLURIANUAL 2026/2029 </span> 2545 </div> 2546 </a> 2547 </li> 2548 <li> 2549 <a rel="noreferrer" href="https://barbacena.mg.gov.br/pca" target="_blank"> 2550 <div class="e_link_menu_todos "> 2551 <span> 2552 PCA (Planos de Contratações Anuais) </span> 2553 </div> 2554 </a> 2555 </li> 2556 <li> 2557 <a rel="noreferrer" href="https://esus.barbacena.mg.gov.br" target="_blank"> 2558 <div class="e_link_menu_todos "> 2559 <span> 2560 E-SUS </span> 2561 </div> 2562 </a> 2563 </li> 2564 <li> 2565 <a rel="noreferrer" href="https://sasbarbacenamg.com.br/#/agencia/inicio" target="_blank"> 2566 <div class="e_link_menu_todos "> 2567 <sp
2567an> 2568 Conta de água (SAS) </span> 2569 </div> 2570 </a> 2571 </li> 2572 <li> 2573 <a href="/portal/servicos/1028/cultura/" target="_self"> 2574 <div class="e_link_menu_todos e_titulo_subitens_menu"> 2575 <span> 2576 Cultura </span> 2577 </div> 2578 </a> 2579 </li> 2580 <li> 2581 <a href="/portal/servicos/1063/cadastro-de-agentes-culturais/" target="_self"> 2582 <div class="e_link_menu_todos e_subitem_menu "> 2583 <div> 2584 <span>Cadastro de agentes culturais</span> 2585 </div> 2586 </div> 2587 </a> 2588 </li> 2589 <li> 2590 <a href="/portal/servicos/1064/pnab-2024-----ciclo-1/" target="_self"> 2591 <div class="e_link_menu_todos e_subitem_menu e_ultimo_subitem_menu"> 2592 <div> 2593 <span>PNAB 2024 - Ciclo 1</span> 2594 </div> 2595 </div> 2596 </a> 2597 </li> 2598 <li> 2599 <a href="https://www.barbacena.mg.gov.br/cultura/pnab/" target="_self"> 2600 <div class="e_link_menu_todos "> 2601 <sp
2601an> 2602 PNAB 2026 - Ciclo 2 </span> 2603 </div> 2604 </a> 2605 </li> 2606 <li> 2607 <a rel="noreferrer" href="https://barbacena.mg.gov.br/revistas" target="_blank"> 2608 <div class="e_link_menu_todos "> 2609 <span class='swfa fa fa-archive'></span> <span> 2610 Revistas </span> 2611 </div> 2612 </a> 2613 </li> 2614 <li> 2615 <a href="https://intranet2.barbacena.mg.gov.br" target="_self"> 2616 <div class="e_link_menu_todos "> 2617 <span> 2618 Intranet </span> 2619 </div> 2620 </a> 2621 </li> 2622 <li> 2623 <a href="https://www1.barbacena.mg.gov.br/portal/secretarias-paginas/19/plano-diretor/" target="_self"> 2624 <div class="e_link_menu_todos "> 2625 <span> 2626 Plano Diretor e Mobilidade Urbana </span> 2627 </div> 2628 </a> 2629 </li> 2630 <li> 2631 <a href="/portal/servicos/1062/3-jornada-empreendedora-bq/" target="_self"> 2632 <div class="e_link_menu_todos "> 2633 <sp
2633an> 2634 3º Jornada Empreendedora BQ </span> 2635 </div> 2636 </a> 2637 </li> 2638 <li> 2639 <a href="https://www.barbacena.mg.gov.br/visitebarbacena/2festivalgastronomico" target="_self"> 2640 <div class="e_link_menu_todos "> 2641 <span> 2642 Festival Gastronômico </span> 2643 </div> 2644 </a> 2645 </li> 2646 <li> 2647 <a href="/portal/servicos/1069/emprega-barbacena/" target="_self"> 2648 <div class="e_link_menu_todos "> 2649 <span> 2650 Emprega Barbacena </span> 2651 </div> 2652 </a> 2653 </li> 2654 <li> 2655 <a href="https://barbacena.mg.gov.br/saneamento_basico/" target="_self"> 2656 <div class="e_link_menu_todos "> 2657 <span> 2658 Plano Municipal de Saneamento Básico </span> 2659 </div> 2660 </a> 2661 </li> 2662 <li> 2663 <a href="/arquivos/regularizacao_de_bairros_01104351.pdf" target="_self"> 2664 <div class="e_link_menu_todos "> 2665 <sp
2665an> 2666 Regularização de bairros </span> 2667 </div> 2668 </a> 2669 </li> 2670 <li> 2671 <a href="/portal/carta-servicos" target="_self"> 2672 <div class="e_link_menu_todos "> 2673 <span> 2674 Carta de Serviços </span> 2675 </div> 2676 </a> 2677 </li> 2678 <li> 2679 <a href="/portal/arquivos" target="_self"> 2680 <div class="e_link_menu_todos "> 2681 <span> 2682 Arquivos para Download </span> 2683 </div> 2684 </a> 2685 </li> 2686 <li> 2687 <a href="/portal/leis_decretos/" target="_self"> 2688 <div class="e_link_menu_todos "> 2689 <span> 2690 Legislação </span> 2691 </div> 2692 </a> 2693 </li> 2694 <li> 2695 <a href="/portal/telefones/" target="_self"> 2696 <div class="e_link_menu_todos "> 2697 <sp
2697an> 2698 Telefones Ãteis </span> 2699 </div> 2700 </a> 2701 </li> 2702 <li> 2703 <a rel="noreferrer" href="/portal/transparencia" target="_blank"> 2704 <div class="e_link_menu_todos "> 2705 <span> 2706 Transparência </span> 2707 </div> 2708 </a> 2709 </li> 2710 <li> 2711 <a href="/portal/sic/" target="_self"> 2712 <div class="e_link_menu_todos "> 2713 <span> 2714 SIC </span> 2715 </div> 2716 </a> 2717 </li> 2718 </ul> 2719 </div> 2720 </div> 2721 </div> 2722 </li> 2723 </ul> 2724 </div> 2725 <!-- FIM MENU TOPO --> 2726 2727 <div class="e_redessocial_busca_acessofacil flex items-center gap-35"> 2728 <div class="e_rede_sociais flex items-center gap-5 ml-auto"> 2729 <div class="e_rede_social"> 2730 <a href="https://www.instagram.com/prefeituradebarbacena/?hl=pt-br" target="_blank" rel="noreferrer" title="Rede social instagram"> 2731 <img src="/fotos/43730d83c59b8131dd3cd36ff8455401.png" width="30" height="30" alt="Rede social instagram"> 2732 </a> 2733 </div> 2734 <div class="e_rede_social"> 2735 <a href="https://www.facebook.com/prefeiturabarbacena" target="_blank" rel="noreferrer" title="Rede social facebook"> 2736 <img src="/fotos/5ef244ebd40e6bc639e90927e662e6bf.png" width="30" height="30" alt="Rede social facebook"> 2737 </a> 2738 </div> 2739 <div class="e_rede_social"> 2740 <a href="https://www.youtube.com/@PrefeituraMunicipaldeBarbacena/about" target="_blank" rel="noreferrer" title="Rede social youtube"> 2741 <img src="/fotos/beda345a256b40c1fb3c3618391008c9.png" width="30" height="30" alt="Rede social youtube"> 2742 </a> 2743 </div> 2744 </div> 2745 2746 <div class="e_area_acesso_facil e_topo_ac flex gap-10" id="e_acesso_facil_topo"> 2747 <div class="e_conteudo_acesso_facil gap-10 flex items-start justify-center"> 2748 <div class="e_btn_acesso_facil text-xs text-white font-semibold rounded-full flex gap-10 items-center justify-center" data-json='[{"link":"\/portal\/carta-servicos","icone":"swfa fa fa-star","nome":"Carta de Servi\u00e7os"},{"link":"\/portal\/editais\/3","icone":"swfa fa fa-file-text","nome":"Concursos"},{"link":"\/portal\/contato","icone":"swfa fa fa-user","nome":"Contato"},{"link":"\/portal\/newsletter","icone":"swfa fa fa-envelope","nome":"Newsletter"},{"link":"\/portal\/sic","icone":"swfa fa fa-info-circle","nome":"SIC"},{"link":"\/portal\/telefones","icone":"swfa fa fa-phone-square","nome":"Telefones \u00dateis"}]'> 2749 <div class="flex flex-col items-center"> 2750 <div class="e_nome_btn text-white uppercase font-semibold"> 2751 CIDADÃO </div> 2752 </div> 2753 </div> 2754 <div class="e_btn_acesso_facil text-xs text-white font-semibold rounded-full flex gap-10 items-center justify-center" data-json='[{"link":"\/portal\/diario-oficial","icone":"swfa fa fa-certificate","nome":"Di\u00e1rio Oficial"},{"link":"\/portal\/editais\/1","icone":"swfa fa fa-file-pdf-o","nome":"Licita\u00e7\u00f5es"},{"link":"\/","icone":"swfa fa fa-file-text-o","nome":"Nota Fiscal Eletr\u00f4nica"},{"link":"\/portal\/servicos_online","icone":"swfa fa fa-laptop","nome":"Servi\u00e7os Online"},{"link":"\/portal\/sic","icone":"swfa fa fa-info-circle","nome":"SIC"}]'> 2755 <div class="flex flex-col items-center"> 2756 <div class="e_nome_btn text-white uppercase font-semibold"> 2757 EMPRESA </div> 2758 </div> 2759 </div> 2760 <div class="e_btn_acesso_facil text-xs text-white font-semibold rounded-full flex gap-10 items-center justify-center" data-json='[{"link":"https:\/\/webmail.barbacena.mg.gov.br\/","icone":"swfa fa fa-envelope","nome":"WebMail"},{"link":"https:\/\/login.betha.cloud\/servicelogin\/login.faces?app=1ac9103b-8245-4361-a12e-80e71df92c1a&continue=dUt3pl7deSJcIfYbNgSBvyszrVx7CtLXMQ8SyjaTDIyAxIspOkXzLADGEjv59FmVkDvvSbpRV9h8ufTnTBpXO7RI651ay-4WbURlh-soP7G7sfmWlHbLmGMYy6ZHGCJeWhKBDtgx5rOC6EAkY9q048soyleXsqdfPqY1vT_lDzhl_dh4VfnmfF3ATZdqA01aY8x3jx-nulXLb46558-PXMVhZM3k2FDPHT-UwJCARoumaAkGfZoj2zZwPJ_InmlJzem8tQWs1rg_HWFQq43SoKNV2ik1RG6QH2LpsNicdE-aaJAccC-3G6wP4BuI1luSU8A72A8w1hWODVy0mxbHqvwbyXTx1DOpYebTr3YrpUb0g-Cq-JF7CAhCi8SNtODB2LdjCNeA1slEgjJNej-aQw==&mobile=false","icone":"swfa fa fa-institution","nome":"Portal do Servidor"}]'> 2761 <div class="flex flex-col items-center"> 2762 <div class="e_nome_btn text-white uppercase font-semibold"> 2763 SERVIDOR </div> 2764 </div> 2765 </div> 2766 </div> 2767 </div> 2768 2769 <div class="e_area_busca"> 2770 <form action="/portal/busca" method="post" id="formulario_busca">
2771 <div class="e_campo_busca"> 2772 <button type="submit" class="e_btn_busca"> 2773 <span class="swfa fa fa-search" aria-hidden="true"></span> 2774 </button> 2775 2776 <label for="e_campo_busca" hidden>Busca</label> 2777 <input type="search" id="e_campo_busca" name="e_campo_busca" placeholder="O que você procura?"> 2778 </div> 2779 </form> 2780 </div> 2781 </div> 2782 </div> 2783 </div> 2784 <!-- FIM BANNER TOPO --> 2785 2786
2786<script> 2787 // ACESSO FACIL 2788 const areaAcessoFacil = document.querySelector('#e_acesso_facil_topo'); 2789 if (areaAcessoFacil) { 2790 const btnsAcessoFacil = areaAcessoFacil.querySelectorAll('.e_btn_acesso_facil'); 2791 function cardAcessoFacil(dados, btn) { 2792 const tituloModal = btn.querySelector('.e_nome_btn').textContent; 2793 2794 function cardsCompletos(item) { 2795 return `<a href="${item.link}" class="contents"> 2796 <div class="e_card flex flex-col flex-1 gap-10 p-35 py-20 text-center items-center rounded"> 2797 <div class="e_icone_card"> 2798 <span class="icone_swfa relative ${item.icone}"></span> 2799 </div> 2800 <span class="text-base text-center line-clamp-2 font-medium text-gray-500 uppercase"> 2801 ${item.nome} 2802 </span> 2803 </div> 2804 </a> 2805 `; 2806 } 2807 2808 const estruturaModal = ` 2809 <div class="e_modal acesso_facil"> 2810 <div class="e_titulo_modal">${tituloModal}</div> 2811 <div class="e_icone_modal"> 2812 <span class="swfa fas fa-times"></span> 2813 </div> 2814 <div class="e_cont_cards_modal flex flex-wrap justify-center gap-5 my-20"></div> 2815 </div> 2816 `; 2817 2818 document.querySelector('body').insertAdjacentHTML("beforeend", estruturaModal); 2819 document.querySelector('body').classList.add('ovfhidden'); 2820 2821 const contCards = document.querySelector('.e_cont_cards_modal'); 2822 const areaModal = document.querySelector('.e_modal.acesso_facil'); 2823 areaModal.classList.add('js-ativo'); 2824 2825 dados.forEach((dado) => { 2826 contCards.innerHTML += cardsCompletos(dado); 2827 }); 2828 2829 document.querySelectorAll('.e_card').forEach((item, index) => { 2830 setTimeout(() => { 2831 item.classList.add('js-card-ativado'); 2832 }, 100 * index); 2833 }) 2834 2835 document.querySelector('.e_icone_modal').addEventListener('click', () => { 2836 areaModal.remove(); 2837 document.querySelector('body').classList.remove('ovfhidden'); 2838 }); 2839 2840 areaModal.addEventListener('click', () => { 2841 areaModal.remove(); 2842 document.querySelector('body').classList.remove('ovfhidden'); 2843 }); 2844 } 2845 2846 btnsAcessoFacil.forEach((btn) => { 2847 btn.addEventListener('click', async () => { 2848 cardAcessoFacil(dadosBtn(btn.dataset.json), btn); 2849 }); 2850 }); 2851 2852 function dadosBtn(dadosJson) { 2853 const dados = JSON.parse(dadosJson); 2854 if (dados) { 2855 return dados; 2856 } else { 2857 console.error('dados incorretos'); 2858 } 2859 } 2860 2861 } 2862 </script>
2862 2863</div> 2864<!-- TOPO --></header> 2865<!--Necessário para máscara enquete -->
2866<script src="/js/jquery.maskedinput-1.2.2.min.js"></script>
vendor: 1 bytes, line 2866
2866
2867<script> 2868$(function() { 2869 $("#form_data_enquete").mask("99/99/9999"); 2870 $("#form_cpf_enquete").mask("999.999.999-99"); 2871}); 2872</script>
2872 2873<!--FIM Necessário para máscara enquete --> 2874 2875<!-- PARA USAR DOIS CAPTCHAS -->
2876<script> 2877var CaptchaCallback = function(){ 2878 $('.g-recaptcha').each(function(index, el) { 2879 grecaptcha.render(el, {'sitekey' : '6LcnWxktAAAAAI1e2nW0Z5AWPlL3MgZgmXB9HXkp'}); 2880 }); 2881}; 2882</script>
vendor: 110 bytes, lines 2882-2883
2882 2883<script src="https://www.google.com/recaptcha/api.js?onload=CaptchaCallback&render=explicit" async></script>
2884<!-- FIM DOIS CAPTCHAS--> 2885
2886<script> 2887$(window).scroll(function(){ 2888 if($(window).scrollTop() >= 200) 2889 { 2890 $("#cont_position_topo").fadeIn(1000); 2891 } 2892 else 2893 { 2894 $("#cont_position_topo").fadeOut(1000); 2895 } 2896}); 2897 2898$(document).ready(function() { 2899 $('#top').click(function(){ 2900 $('html, body').animate({scrollTop:0}, 'slow'); 2901 return false; 2902 }); 2903 2904 $("#contraste2").click(function () { 2905 //$("body").toggleClass("contraste",""); 2906 if($("body").hasClass("contraste")) 2907 { 2908 $("body").removeClass("contraste"); 2909 $("body").css("background","#FFFFFF"); 2910 } 2911 else 2912 { 2913 $("body").addClass("contraste"); 2914 } 2915 }); 2916}); 2917</script>
2917 2918 2919<div id="aparecer_topo_mobile"> 2920 <div id="topo" class="e_cor_fundo_m"> 2921 <div id="brasao"> 2922 <a href="/portal"><img src="/img/logo_mobile.png?1689968085" alt="Prefeitura Municipal de Barbacena"></a> 2923 </div> 2924 2925 <!-- ACESSIBILIDADE --> 2926 <div id="p_acessibilidade_mobile" class="tamanho_fixo"></div> 2927
2927<script> 2928 // ANALISANDO SE NÃO EXISTE O ID (FUNÃÃO NÃO FOI CHAMADA ANTERIORMENTE) 2929 if (!$("#sw_acessibilidade").length) { 2930 var parametros_acessibilidade_mobile = {} 2931 if (window.innerWidth <= 1000) { 2932 parametros_acessibilidade_mobile.layout = "a3"; 2933 parametros_acessibilidade_mobile.caminho = "#p_acessibilidade_mobile"; 2934 parametros_acessibilidade_mobile.media = "mobile"; 2935 sw_acessibilidade(parametros_acessibilidade_mobile); 2936 } 2937 // else { 2938 // parametros_acessibilidade_mobile.layout = "a1"; 2939 // parametros_acessibilidade_mobile.media = "desktop"; 2940 // } 2941 // sw_acessibilidade(parametros_acessibilidade_mobile); 2942 } 2943 </script>
2943 2944 <!-- FIM ACESSIBILIDADE --> 2945 2946 <div class="busca_mobile"> 2947 <form action="/portal/busca" id="tfnewsearch" method="post"> 2948 <div class="e_cor_label"><label for="form_busca_mb">BUSCA DO SITE:</label></div> 2949 <input type="search" name="e_campo_busca" id="form_busca_mb" class="e_busca_mobile" placeholder="O que você gostaria de encontrar?" title="O que você gostaria de encontrar?" onKeyPress="if (e.keyCode == 13) { this.submit(); }" value=""> 2950 <input type="submit" class="e_bm e_trans" value="buscar"> 2951 </form> 2952 </div> 2953 2954 <div class="rede_social_mobile"> 2955 <span class="float_left">Acompanhe-nos:</span> 2956 <a rel="noreferrer" href="https://www.instagram.com/prefeituradebarbacena/?hl=pt-br" target="_blank"> 2957 <div class="icone_rede_social"> 2958 <img src="/fotos/43730d83c59b8131dd3cd36ff8455401.png" width="20" height="18" alt="Rede Social Instagram"> 2959 </div> 2960 </a> 2961 <a rel="noreferrer" href="https://www.facebook.com/prefeiturabarbacena" target="_blank"> 2962 <div class="icone_rede_social"> 2963 <img src="/fotos/5ef244ebd40e6bc639e90927e662e6bf.png" width="20" height="18" alt="Rede Social Facebook"> 2964 </div> 2965 </a> 2966 <a rel="noreferrer" href="https://www.youtube.com/@PrefeituraMunicipaldeBarbacena/about" target="_blank"> 2967 <div class="icone_rede_social"> 2968 <img src="/fotos/beda345a256b40c1fb3c3618391008c9.png" width="20" height="18" alt="Rede Social Youtube"> 2969 </div> 2970 </a> 2971 </div> 2972 </div> 2973 2974 <div id="contencao_menu_mobile_p"> 2975 <nav style="z-index:10000; width:100%;"> 2976 2977 2978 <label for="drop-1" class="toggle_menu">MENU <em class="swfa fas icone_menu fa-bars"></em></label> 2979 <input type="checkbox" id="drop-1"> 2980 <ul class="menu"> 2981 2982 <li> 2983 <label for="drop0" class="toggle"> 2984 <a href="/portal/servicos/14/institucional/" target="_self"> 2985 INSTITUCIONAL </a> 2986 <em class="swfa fas fa-caret-down"></em> 2987 </label> 2988 2989 <input type="checkbox" id="drop0"> 2990 2991 <ul> 2992 <li> 2993 <a href="/portal/prefeito/13/1" target="_self"> 2994 Prefeito(a) </a> 2995 </li> 2996 <li> 2997 <a href="/portal/prefeito/14/2" target="_self"> 2998 Vice-Prefeito(a) </a> 2999 </li> 3000 <li> 3001 <a href="/portal/galeria-de-prefeitos/" target="_self"> 3002 Galeria de Prefeitos </a> 3003 </li> 3004 3005 </ul> 3006 </li> 3007 <li> 3008 <label for="drop1" class="toggle"> 3009 <a href="/portal/secretarias/" target="_self"> 3010 Secretarias </a> 3011 <em class="swfa fas fa-caret-down"></em> 3012 </label> 3013 3014 <input type="checkbox" id="drop1"> 3015 3016 <ul> 3017 <li> 3018 <a href="/portal/secretarias/19/advocacia-geral-do-municipio--agm" target="_self"> 3019 Advocacia Geral do MunicÃpio | AGM </a> 3020 </li> 3021 <li> 3022 <a href="/portal/secretarias/20/controladoria-geral-do-municipio--cgem" target="_self"> 3023 Controladoria Geral do MunicÃpio | CGEM </a> 3024 </li> 3025 <li> 3026 <a href="/portal/secretarias/28/secretaria-municipal-de-assistencia-social--semas" target="_self"> 3027 Secretaria Municipal de Assistência Social | SEMAS </a> 3028 </li> 3029 <li> 3030 <a href="/portal/secretarias/31/secretaria-municipal-de-saude--sesap" target="_self"> 3031 Secretaria Municipal de Saúde | SESAP </a> 3032 </li> 3033 <li> 3034 <a href="/portal/secretarias/24/secretaria-municipal-de-educacao--seduc" target="_self"> 3035 Secretaria Municipal de Educação | SEDUC </a> 3036 </li> 3037 <li> 3038 <a href="/portal/secretarias/60/secretaria-municipal-de-cultura-e-turismo--secult" target="_self"> 3039 Secretaria Municipal de Cultura e Turismo | SECULT </a> 3040 </li> 3041 <li> 3042 <a href="/portal/secretarias/62/secretaria-municipal-de-esportes-paradesporto-e-lazer--semesp" target="_self"> 3043 Secretaria Municipal de Esportes, Paradesporto e Lazer | SEMESP </a> 3044 </li> 3045 <li> 3046 <a href="/portal/secretarias/23/secretaria-municipal-de-agricultura-pecuaria-e-abastecimento--seapa" target="_self"> 3047 Secretaria Municipal de Agricultura, Pecuária e Abastecimento | SEAPA </a> 3048 </li> 3049 <li> 3050 <a href="/portal/secretarias/63/secretaria-municipal-de-meio-ambiente--semma" target="_self"> 3051 Secretaria Municipal de Meio Ambiente | SEMMA </a> 3052 </li> 3053 <li> 3054 <a href="/portal/secretarias/32/secretaria-municipal-de-seguranca-publica--ssp" target="_self"> 3055 Secretaria Municipal de Segurança Pública | SSP </a> 3056 </li> 3057 <li> 3058 <a href="/portal/secretarias/29/secretaria-municipal-de-obras-publicas--semop" target="_self"> 3059 Secretaria Municipal de Obras Públicas | SEMOP </a> 3060 </li> 3061 <li> 3062 <a href="/portal/secretarias/65/secretaria-municipal-de-urbanismo--semur" target="_self"> 3063 Secretaria Municipal de Urbanismo | SEMUR </a> 3064 </li> 3065 <li> 3066 <a href="/portal/secretarias/30/secretaria-municipal-de-planejamento--seplan" target="_self"> 3067 Secretaria Municipal de Planejamento | SEPLAN </a> 3068 </li> 3069 <li> 3070 <a href="/portal/secretarias/25/secretaria-municipal-de-fazenda--sefaz" target="_self"> 3071 Secretaria Municipal de Fazenda | SEFAZ </a> 3072 </li> 3073 <li> 3074 <a href="/portal/secretarias/59/secretaria-municipal-de-administracao--semad" target="_self"> 3075 Secretaria Municipal de Administração | SEMAD </a> 3076 </li> 3077 <li> 3078 <a href="/portal/secretarias/27/secretaria-municipal-de-governo--segov" target="_self"> 3079 Secretaria Municipal de Governo | SEGOV </a> 3080 </li> 3081 <li> 3082 <a href="/portal/secretarias/61/secretaria-municipal-de-desenvolvimento-economico--sedec" target="_self"> 3083 Secretaria Municipal de Desenvolvimento Econômico | SEDEC </a> 3084 </li> 3085 <li> 3086 <a href="/portal/secretarias/64/secretaria-municipal-de-servicos-publicos--sesp" target="_self"> 3087 Secretaria Municipal de Serviços Públicos | SESP </a> 3088 </li> 3089 <li> 3090 <a href="/portal/secretarias/26/secretaria-municipal-do-gabinete-do-prefeito--segab" target="_self"> 3091 Secretaria Municipal do Gabinete do Prefeito | SEGAB </a> 3092 </li> 3093 3094 </ul> 3095 </li> 3096 <li> 3097 <label for="drop2" class="toggle"> 3098 <a href="https://www1.barbacena.mg.gov.br/meio-ambiente" target="_self"> 3099 Meio Ambiente </a> 3100 <em class="swfa fas fa-caret-down"></em> 3101 </label> 3102 3103 <input type="checkbox" id="drop2"> 3104 3105 <ul> 3106 <li> 3107 <a href="https://www1.barbacena.mg.gov.br/licenciamento-ambiental" target="_self"> 3108 Licenciamento Ambiental </a> 3109 </li> 3110 <li> 3111 <a href="https://www1.barbacena.mg.gov.br/intervencoes-ambientais-e-autorizacao" target="_self"> 3112 Intervenções Ambientais </a> 3113 </li> 3114 <li> 3115 <a href="https://www1.barbacena.mg.gov.br/castracao" target="_self"> 3116 Castração </a> 3117 </li> 3118 <li> 3119 <a href="https://www1.barbacena.mg.gov.br/codema" target="_self"> 3120 CODEMA </a> 3121
3121 </li> 3122 <li> 3123 <a href="https://www1.barbacena.mg.gov.br/fiscalizacao" target="_self"> 3124 Fiscalização </a> 3125 </li> 3126 <li> 3127 <a href="https://leismunicipais.com.br/legislacao-municipal/1535/leis-de-barbacena/categorias/meio-ambiente" target="_self"> 3128 Legislação Ambiental Municipal </a> 3129 </li> 3130 <li> 3131 <a href="https://www.siam.mg.gov.br/sla/action/Consulta.do" target="_self"> 3132 Legislação Ambiental Estadual </a> 3133 </li> 3134 <li> 3135 <a href="https://www1.barbacena.mg.gov.br/portal/secretarias/63/secretaria-municipal-de-meio-ambiente--semma/" target="_self"> 3136 Infraestrutura de Dados Espaciais </a> 3137 </li> 3138 <li> 3139 <a href="https://www1.barbacena.mg.gov.br/portal/arquivos/1/16/0/0/0/0/0/0" target="_self"> 3140 Licenças Ambientais Emitidas </a> 3141 </li> 3142 3143 </ul> 3144 </li> 3145 <li> 3146 <a href="https://www1.barbacena.mg.gov.br/portal/diario-oficial" target="_self"> 3147 EDOB </a> 3148 </li> 3149 <li> 3150 <a href="https://barbacena.mg.gov.br/ouvidoria/" target="_self"> 3151 Ouvidoria </a> 3152 </li> 3153 <li> 3154 <a rel="noreferrer" href="https://transparencia.betha.cloud/#/XeZsCiVEdRP_pW2Y3zfH4Q==" target="_blank"> 3155 Transparência </a> 3156 </li> 3157 <li> 3158 <label for="drop6" class="toggle"> 3159 <a href="/portal/servicos_online/" target="_self"> 3160 Serviços </a> 3161 <em class="swfa fas fa-caret-down"></em> 3162 </label> 3163 3164 <input type="checkbox" id="drop6"> 3165 3166 <ul> 3167 <li> 3168 <a rel="noreferrer" href="https://barbacena.mg.gov.br/atendimento/" target="_blank"> 3169 AutoAtendimento </a> 3170 </li> 3171 <li> 3172 <a href="/e-notas" target="_self"> 3173 Nota Fiscal Eletrônica </a> 3174 </li> 3175 <li> 3176 <a rel="noreferrer" href="https://barbacena.quasar.srv.br/alvara/" target="_blank"> 3177 Alvarás e Inscrições </a> 3178 </li> 3179 <li> 3180 <a rel="noreferrer" href="https://protocolo.betha.cloud/#/consulta-externa" target="_blank"> 3181 Consulta de Processo </a> 3182 </li> 3183 <li> 3184 <a rel="noreferrer" href=" https://e-gov.betha.com.br/cdweb/resource.faces?params=hlBNABSOaBFoPP-I0ySzJw==" target="_blank"> 3185 Certidão Negativa de Débito </a> 3186 </li> 3187 <li> 3188 <a rel="noreferrer" href="https://e-gov.betha.com.br/cdweb/03114-334/contribuinte/con_validacaodocumentos.faces" target="_blank"> 3189 Validação de Documentos </a> 3190 </li> 3191 <li> 3192 <a rel="noreferrer" href="https://barbacena.quasar.srv.br/alvara/taxas/acompanhamento.xhtml" target="_blank"> 3193 2º Via do TLLF/ISSQN Anual </a> 3194 </li> 3195 <li> 3196 <a rel="noreferrer" href="https://e-gov.betha.com.br/cdweb/03114-531/contribuinte/main.faces" target="_blank"> 3197 Guias de Pagamentos Diversos </a> 3198 </li> 3199 <li> 3200 <a href="/portal/servicos/1014/instalacoes-de-equipamentos/" target="_self"> 3201 Instalações de Equipamentos </a> 3202 </li> 3203 <li> 3204 <a href="/portal/servicos/1015/iptu/" target="_self"> 3205 IPTU </a> 3206 </li> 3207 <li> 3208 <a rel="noreferrer" href="/arquivos/formulario_itbi_28091450.pdf" target="_blank"> 3209 I.T.B.I </a> 3210 </li> 3211 <li> 3212 <a rel="noreferrer" href="https://leismunicipais.com.br/prefeitura/mg/barbacena" target="_blank"> 3213 Leis Municipais </a> 3214 </li> 3215 <li> 3216 <a href="/portal/servicos/1017/lei-de-anistia/" target="_self"> 3217 Lei de Anistia </a> 3218 </li> 3219 3220 </ul> 3221 </li> 3222 <li> 3223 <a href="https://www.barbacena.mg.gov.br/visitebarbacena/" target="_self"> 3224 Visite Barbacena </a> 3225 </li> 3226 <li> 3227 <a href="https://www.barbacena.mg.gov.br/seduc/" target="_self"> 3228 Divulgação de Vagas SEDUC </a> 3229 </li> 3230 <li> 3231 <label for="drop9" class="toggle"> 3232 <a href="/portal/servicos/1018/servidor/" target="_self"> 3233 Servidor </a> 3234 <em class="swfa fas fa-caret-down"></em> 3235 </label> 3236 3237 <input type="checkbox" id="drop9"> 3238 3239 <ul> 3240 <li> 3241 <a rel="noreferrer" href="https://login.betha.cloud/servicelogin/login.faces?app=1ac9103b-8245-4361-a12e-80e71df92c1a&continue=dUt3pl7deSJcIfYbNgSBvyszrVx7CtLXMQ8SyjaTDIyAxIspOkXzLADGEjv59FmVkDvvSbpRV9h8ufTnTBpXO7RI651ay-4WbURlh-soP7G7sfmWlHbLmGMYy6ZHGCJeWhKBDtgx5rOC6EAkY9q048soyleXsqdfPqY1vT_lDzhl_dh4VfnmfF3ATZdqA01aY8x3jx-nulXLb46558-PXMVhZM3k2FDPHT-UwJCARoumaAkGfZoj2zZwPJ_InmlJzem8tQWs1rg_HWFQq43SoKNV2ik1RG6QH2LpsNicdE-aaJAccC-3G6wP4BuI1luSU8A72A8w1hWODVy0mxbHqvwbyXTx1DOpYebTr3YrpUb0g-Cq-JF7CAhCi8SNtODB2LdjCNeA1slEgjJNej-aQw==&mobile=false" target="_blank"> 3242 Portal </a> 3243 </li> 3244 <li> 3245 <a rel="noreferrer" href="https://login.betha.cloud/servicelogin/login.faces?app=1ac9103b-8245-4361-a12e-80e71df92c1a&continue=dUt3pl7deSJcIfYbNgSBvyszrVx7CtLXMQ8SyjaTDIyAxIspOkXzLADGEjv59FmVkDvvSbpRV9h8ufTnTBpXO7RI651ay-4WbURlh-soP7G7sfmWlHbLmGMYy6ZHGCJeWhKBDtgx5rOC6EAkY9q048soyleXsqdfPqY1vT_lDzhl_dh4VfnmfF3ATZdqA01aY8x3jx-nulXLb46558-PXMVhZM3k2FDPHT-UwJCARoumaAkGfZoj2zZwPJ_InmlJzem8tQWs1rg_HWFQq43SoKNV2ik1RG6QH2LpsNicdE-aaJAccC-3G6wP4BuI1luSU8A72A8w1hWODVy0mxbHqvwbyXTx1DOphPaWJRdc4bibGTNIlImgcNi4hEYIYn2nfaqcFvR_3mZrMCO5IjEopQ==&mobile=false" target="_blank"> 3246 SIMPAS </a> 3247 </li> 3248 <li> 3249 <a rel="noreferrer" href="/arquivos/para_acessar_o_novo_portal_minha_folha_28095335.pdf" target="_blank"> 3250 Como Acessar O Portal </a> 3251 </li> 3252 <li> 3253 <a rel="noreferrer" href="https://leismunicipais.com.br/a1/estatuto-do-servidor-publico-barbacena-mg" target="_blank"> 3254 Estatuto do Servidor </a> 3255 </li> 3256 3257 </ul> 3258 </li> 3259 <li> 3260 <a href="https://www1.barbacena.mg.gov.br/consulta-publica/" target="_self"> 3261 PPP </a> 3262 </li> 3263 <li> 3264 <a href="https://www1.barbacena.mg.gov.br/ppa" target="_self"> 3265 PPA - PLANO PLURIANUAL 2026/2
3265029 </a> 3266 </li> 3267 <li> 3268 <a rel="noreferrer" href="https://barbacena.mg.gov.br/pca" target="_blank"> 3269 PCA (Planos de Contratações Anuais) </a> 3270 </li> 3271 <li> 3272 <a rel="noreferrer" href="https://esus.barbacena.mg.gov.br" target="_blank"> 3273 E-SUS </a> 3274 </li> 3275 <li> 3276 <a rel="noreferrer" href="https://sasbarbacenamg.com.br/#/agencia/inicio" target="_blank"> 3277 Conta de água (SAS) </a> 3278 </li> 3279 <li> 3280 <label for="drop15" class="toggle"> 3281 <a href="/portal/servicos/1028/cultura/" target="_self"> 3282 Cultura </a> 3283 <em class="swfa fas fa-caret-down"></em> 3284 </label> 3285 3286 <input type="checkbox" id="drop15"> 3287 3288 <ul> 3289 <li> 3290 <a href="/portal/servicos/1063/cadastro-de-agentes-culturais/" target="_self"> 3291 Cadastro de agentes culturais </a> 3292 </li> 3293 <li> 3294 <a href="/portal/servicos/1064/pnab-2024-----ciclo-1/" target="_self"> 3295 PNAB 2024 - Ciclo 1 </a> 3296 </li> 3297 3298 </ul> 3299 </li> 3300 <li> 3301 <a href="https://www.barbacena.mg.gov.br/cultura/pnab/" target="_self"> 3302 PNAB 2026 - Ciclo 2 </a> 3303 </li> 3304 <li> 3305 <a rel="noreferrer" href="https://barbacena.mg.gov.br/revistas" target="_blank"> 3306 Revistas </a> 3307 </li> 3308 <li> 3309 <a href="https://intranet2.barbacena.mg.gov.br" target="_self"> 3310 Intranet </a> 3311 </li> 3312 <li> 3313 <a href="https://www1.barbacena.mg.gov.br/portal/secretarias-paginas/19/plano-diretor/" target="_self"> 3314 Plano Diretor e Mobilidade Urbana </a> 3315 </li> 3316 <li> 3317 <a href="/portal/servicos/1062/3-jornada-empreendedora-bq/" target="_self"> 3318 3º Jornada Empreendedora BQ </a> 3319 </li> 3320 <li> 3321 <a href="https://www.barbacena.mg.gov.br/visitebarbacena/2festivalgastronomico" target="_self"> 3322 Festival Gastronômico </a> 3323 </li> 3324 <li> 3325 <a href="/portal/servicos/1069/emprega-barbacena/" target="_self"> 3326 Emprega Barbacena </a> 3327 </li> 3328 <li> 3329 <a href="https://barbacena.mg.gov.br/saneamento_basico/" target="_self"> 3330 Plano Municipal de Saneamento Básico </a> 3331 </li> 3332 <li> 3333 <a href="/arquivos/regularizacao_de_bairros_01104351.pdf" target="_self"> 3334 Regularização de bairros </a> 3335 </li> 3336 <li> 3337 <a href="/portal/carta-servicos" target="_self"> 3338 Carta de Serviços </a> 3339 </li> 3340 <li> 3341 <a href="/portal/arquivos" target="_self"> 3342 Arquivos para Download </a> 3343 </li> 3344 <li> 3345 <a href="/portal/leis_decretos/" target="_self">
3346 Legislação </a> 3347 </li> 3348 <li> 3349 <a href="/portal/telefones/" target="_self"> 3350 Telefones Ãteis </a> 3351 </li> 3352 <li> 3353 <a rel="noreferrer" href="/portal/transparencia" target="_blank"> 3354 Transparência </a> 3355 </li> 3356 <li> 3357 <a href="/portal/sic/" target="_self"> 3358 SIC </a> 3359 </li> 3360 3361 </ul> 3362 3363 </nav> 3364 </div> 3365 </div> 3366
3367<script> 3368 $(function(){ 3369 var nav = $('#contencao_menu_mobile'); 3370 $(window).scroll(function () { 3371 if ($(this).scrollTop() > 150) { 3372 nav.addClass("menu-fixo"); 3373 } else { 3374 nav.removeClass("menu-fixo"); 3375 } 3376 }); 3377 }); 3378</script>
3378 3379 3380 <!-- FIM TOPO --> 3381 3382 <!-- e_centralizar --> 3383 <div id="e_centralizar"> 3384 <!-- conteudo_esquerda --> 3385 <div id="conteudo_esquerda"> 3386 3387 3388 <!-- NAVEGAÃÃO --> 3389 <div class="sw_titulo_pagina sw_ubuntu_light">Prefeito(a)</div> 3390 <div class="sw_area_navegacao"> 3391 <div class="sw_area_links_navegacao"> 3392 <a href="/"><div class="sw_navegacao"><i class="swfa fas fa-home" aria-hidden="true"></i><span class="sw_lato">Principal</span></div></a> 3393 <a href="/portal/prefeito/13/1"><div class="sw_navegacao sw_pagina_atual"><span class="sw_lato_bold">Prefeito(a) - Carlos Augusto Soares do Nascimento</span></div></a> 3394 </div> 3395 </div> 3396 <!-- FIM NAVEGAÃÃO --> 3397 3398 <div id="apresentacao_prefeito"> 3399 <div class="titulo_prefeito_interna">Carlos Augusto Soares do Nascimento</div> 3400 <div id="texto_prefeito" class="texto_prefeito_interna"> 3401 <div class="e_img_prefeito"> 3402 <img src="/fotos/611cb8c4b733ef52ec40c0be9bf5d2a1.jpg" class="float_right_interna" alt="Carlos Augusto Soares do Nascimento"/> 3403 </div> 3404 3405 <div class="sw_txteditor"> 3406 <h3>Biografia</h3> 3407 3408<p>Foi eleito prefeito de Barbacena em 2020 e reeleito prefeito de Barbacena em 2024.<br /> 3409<br /> 3410 </p> 3411 3412<h3>Informações de Contato</h3> 3413 3414<ul> 3415 <li><strong><a href="https://www.instagram.com/carlosdu.oficial/">Carlos Du</a></strong></li> 3416 <li>Telefone: (32) 3198-1000</li> 3417 <li>Email: [email protected]</li> 3418 <li>Endereço: Rua Silva Jardim, 340, Boa Morte</li> 3419</ul> 3420 </div> 3421 3422 </div> 3423 </div> 3424 3425 3426 <!-- COMPARTILHAR --> 3427
3427<script async src="/js/redes_sociais.js?1681922698"></script>
3427 3428
3429<script> 3430 var a2a_config = a2a_config || {}; 3431 a2a_config.onclick = 2; 3432 a2a_config.templates = a2a_config.templates || {}; 3433 3434 a2a_config.templates.pinterest = { 3435 alt: "Clique no link: ${title} ${link}" 3436 }; 3437 3438 a2a_config.templates.email = { 3439 subject: "Assunto : ${title}", 3440 body: "Clique no link:\n ${link} " 3441 }; 3442 3443 a2a_config.templates.facebook = { 3444 app_id: "" // Vincula a postagem do facebook com uma página 3445 }; 3446 3447 a2a_config.templates.sms = { 3448 body: "Clique no link para visualizar: ${title} ${link} " 3449 }; 3450 3451 a2a_config.templates.twitter = { 3452 text: "Clique no link: ${title} ${link} ", 3453 related: "" // Esse parametro delimita se a postagem é relacionada com alguma página vazio significa nenhuma 3454 }; 3455 3456 a2a_config.templates.whatsapp = { 3457 text: " ${title} - Clique no link para visualizar: ${link} " 3458 }; 3459 3460 a2a_config.exclude_services = ["pocket", "mix", "balatarin", "bibsonomy", "bitty_browser", "blinklist", "blogmarks", "bookmarks_fr", "box_net", "buffer", "care2_news", "citeulike", "design_float", "diary_ru", "diaspora", "digg", "diigo", "douban", "draugiem", "dzone", "fark", "flipboard", "folkd", "hacker_news", "hatena", "houzz", "instapaper", "kakao", "kik", "known", "line", "livejournal", "mail_ru", "mastodon", "mendeley", "meneame", "mewe", "mixi", "myspace", "netvouz", "odnoklassniki", "papaly", "pinboard", "plurk", "pocket", "protopage_bookmarks", "pusha", "kindle_it", "qzone", "reddit", "rediff", "refind", "renren", "sina_weibo", "sitejot", "slashdot", "stocktwits", "svejo", "symbaloo_bookmarks", "threema", "tuenti", "twiddla", "typepad_post", "viadeo", "vk", "wanelo", "wechat", "wykop", "xing", "yoolink", "yummly"]; 3461 3462 const observer = new MutationObserver(function(mutations, obs) { 3463 const a2aDiv = document.getElementById('a2apage_full_services'); 3464 if (!a2aDiv) return; 3465 3466 // Verifica se os links já existem dentro da div 3467 const links = a2aDiv.querySelectorAll('a.a2a_i'); 3468 if (links.length === 0) return; 3469 3470 // Já foi corrigido anteriormente 3471 if (a2aDiv.querySelector('nav')) { obs.disconnect(); return; } 3472 3473 // Cria o nav interno 3474 const nav = document.createElement('nav'); 3475 nav.setAttribute('aria-label', 'Compartilhar nas redes sociais'); 3476 3477 // Move todos os <a> para dentro do nav 3478 links.forEach(link => nav.appendChild(link)); 3479 3480 // Insere o nav dentro da div do AddToAny 3481 a2aDiv.insertBefore(nav, a2aDiv.firstChild); 3482 3483 obs.disconnect(); 3484 }); 3485 3486 observer.observe(document.body, { childList: true, subtree: true }); 3487</script>
3487 3488 3489 3490<!-- Compartilhar (popup)--> 3491<div class="sw_compartilhar sw_lato a2a_kit a2a_kit_size_32 a2a_default_style" data-a2a-url="" data-a2a-title="" data-a2a-media=""> 3492 <!-- Compartilhar --> 3493 <a class="a2a_dd" href="https://www.addtoany.com/share"> 3494 <div class="sw_btn_compartilhar sw_btn_compartilhar_geral">COMPARTILHAR <span class="swfa fas fa-share-alt" aria-hidden="true"></span></div> 3495 </a> 3496 3497 <!-- Facebook --> 3498 <a class="a2a_button_facebook"> 3499 <div class="sw_btn_compartilhar sw_btn_compartilhar_rede_social sw_btn_compartilhar_facebook"> 3500 <span class="swfa fab fa-facebook" aria-hidden="true"></span> 3501 <div class="sw_txt_botao"><span>facebook</span></div> 3502 </div> 3503 </a> 3504 3505 <!-- Facebook messenger --> 3506 <a class="a2a_button_facebook_messenger"> 3507 <div class="sw_btn_compartilhar sw_btn_compartilhar_rede_social sw_btn_compartilhar_messenger"> 3508 <span class="swfa fas fa-comment" aria-hidden="true"></span> 3509 <div class="sw_txt_botao"><span>messenger</span></div> 3510 </div> 3511 </a> 3512 3513 <!-- Twitter --> 3514 <a class="a2a_button_twitter"> 3515 <div class="sw_btn_compartilhar sw_btn_compartilhar_rede_social sw_btn_compartilhar_twitter"> 3516 <span class="swfa fab fa-twitter" aria-hidden="true"></span> 3517 <div class="sw_txt_botao"><span>twitter</span></div> 3518 </div> 3519 </a> 3520 3521 <!-- Whatsapp --> 3522 <a class="a2a_button_whatsapp"> 3523 <div class="sw_btn_compartilhar sw_btn_compartilhar_rede_social sw_btn_compartilhar_whatsapp"> 3524 <span class="swfa fab fa-whatsapp" aria-hidden="true"></span> 3525 <div class="sw_txt_botao"><span>whatsapp</span></div> 3526 </div> 3527 </a> 3528 3529 <!-- Mais --> 3530 <a class="a2a_dd" href="https://www.addtoany.com/share"> 3531 <div class="sw_btn_compartilhar sw_btn_compartilhar_rede_social sw_btn_compartilhar_mais"> 3532 <span class="swfa fas fa-plus" aria-hidden="true"></span> 3533 <div class="sw_txt_botao"><span>outras mÃdias</span></div> 3534 </div> 3535 </a> 3536</div> 3537<!-- Fim compartilhar --> <!-- FIM COMPARTILHAR --> 3538 3539 3540 </div> 3541 <!-- FIM conteudo_esquerda --> 3542 3543 </div> 3544 <!-- FIM e_centralizar --> 3545 3546 <!-- RODAPE --> 3547 <footer> 3548 <!-- RODAPE --> 3549<div id="e_cont_rodape"> 3550 <div class="e_conteudo_rodape e_conteudo_interno_flex"> 3551 <div class="flex p-20 e_newsletter_redessocial"> 3552 <div class="e_newsletter"> 3553 <div class="flex items-center gap-30"> 3554 <div class="flex flex-col text-white"> 3555 <div class="font-black font-italic text-xl"> 3556 NEWSLETTER 3557 </div> 3558 <span class="text-sm text-gray-400"> 3559 Cadastre-se e receba informativos da Prefeitura 3560 </span> 3561 </div> 3562 3563 <a href="/portal/internautas/cadastrar/pf"> 3564 <div class="e_btn_newsletter azul-100 py-10 px-30 rounded"> 3565 <span class="text-white text-xs font-italic font-bold"> 3566 CADASTRAR 3567 </span> 3568 </div> 3569 </a> 3570 </div> 3571 </div> 3572 3573 <div class="e_rede_sociais flex items-center gap-5 ml-auto"> 3574 <div class="e_rede_social"> 3575 <a href="https://www.instagram.com/prefeituradebarbacena/?hl=pt-br" target="_blank" rel="noopener" title="Rede social instagram"> 3576 <img src="/fotos/43730d83c59b8131dd3cd36ff8455401.png" width="30" height="30" alt="Rede social instagram"> 3577 </a> 3578 </div> 3579 <div class="e_rede_social"> 3580 <a href="https://www.facebook.com/prefeiturabarbacena" target="_blank" rel="noopener" title="Rede social facebook"> 3581 <img src="/fotos/5ef244ebd40e6bc639e90927e662e6bf.png" width="30" height="30" alt="Rede social facebook"> 3582 </a> 3583 </div> 3584 <div class="e_rede_social"> 3585 <a href="https://www.youtube.com/@PrefeituraMunicipaldeBarbacena/about" target="_blank" rel="noopener" title="Rede social youtube"> 3586 <img src="/fotos/beda345a256b40c1fb3c3618391008c9.png" width="30" height="30" alt="Rede social youtube"> 3587 </a> 3588 </div> 3589 </div> 3590 </div> 3591 3592 <div class="e_informacoes_rodape flex items-stretch justify-between py-30"> 3593 <div class="flex flex-1 flex-col items-center gap-5 text-center mt-25"> 3594 <img src="/img/localizacao.png" alt="Ãcone de endereço" width="37" height="35"> 3595 3596 <div class="bg-transparent azul-50 font-bold"> 3597 Localização 3598 </div> 3599 3600 <div class="text-white text-sm"> 3601 Rua Silva Jardim, 340 - Boa Morte, MG<br>CEP: 36201-004 </div> 3602 </div> 3603 3604 <div class="flex flex-1 flex-col items-center gap-5 text-center mt-25"> 3605 <img src="/img/cnpj.png" alt="Ãcone de CNPJ" width="37" height="35"> 3606 3607 <div class="bg-transparent azul-50 font-bold"> 3608 CNPJ 3609 </div> 3610 3611 <div class="text-white text-sm"> 3612 17.095.043/0001-09 </div> 3613 </div> 3614 3615 <div class="e_brasao_rodape flex-1 text-center"> 3616 <img src="/img/logo-rodape.png" alt="Brasão de Barbacena"> 3617 </div> 3618 3619 <div class="flex flex-1 flex-col items-center gap-5 text-center mt-25"> 3620 <img src="/img/fale-conosco.png" alt="Ãcone de contato" width="37" height="35"> 3621 3622 <div class="bg-transparent azul-50 font-bold"> 3623 Fale Conosco 3624 </div> 3625 3626 <div class="text-white text-sm"> 3627 <a href="tel:(32)3198-1000">
3628 <span> 3629 (32) 3198-1000 </span> 3630 </a> 3631 </div> 3632 </div> 3633 3634 <div class="flex flex-1 flex-col items-center gap-5 text-center mt-25"> 3635 <img src="/img/atendimento.png" alt="Ãcone de atendimento" width="37" height="35"> 3636 3637 <div class="bg-transparent azul-50 font-bold"> 3638 Atendimento 3639 </div> 3640 3641 <div class="text-white text-sm"> 3642 Das 08:00hs à s 17:00h </div> 3643 </div> 3644 </div> 3645 </div> 3646 3647 <!-- AREA INFO SISTEMA --> 3648 3649 <div class="sw_area_info_sistema"> 3650 <div class="flex gap-40 flex-1 justify-center"> 3651 <!-- VERSAO --> 3652 <div class="sw_info_sistema"> 3653 <span class="swfa fa fa-wrench sw_icone_info_sistema" aria-hidden="true"></span> 3654 <span class="sw_texto_info_sistema"> 3655 Versão do Sistema: 3.5.6 - 21/09/2026 </span> 3656 </div> 3657 3658 <!-- ATUALIZACAO --> 3659 <div class="sw_info_sistema"> 3660 <a href="/portal/busca/0/23-09-2026/23-09-2026"> 3661 <span class="swfa fa fa-clock-o sw_icone_info_sistema" aria-hidden="true"></span> 3662 <span class="sw_texto_info_sistema"> 3663 Portal atualizado em: 23/09/2026 22:24 </span> 3664 </a> 3665 </div> 3666 3667 </div> 3668 </div> 3669 <!-- FIM AREA INFO SISTEMA --> 3670 3671 <!-- INSTAR --> 3672 <div class="e_area_instar tamanho_fixo e_lato"> 3673 <div class="e_conteudo_interno_flex"> 3674 <a rel="noreferrer" href="https://www.instar.com.br/" target="_blank" title="Visite nosso site"> 3675 <span> 3676 © Copyright Instar - 2006-2026. Todos os direitos reservados - 3677 </span> 3678 <span> 3679 Instar Tecnologia 3680 </span> 3681 <img src="/img/instar.png" alt="Instar Tecnologia"> 3682 </a> 3683 </div> 3684 </div> 3685 <!-- FIM INSTAR --> 3686</div> 3687<!-- FIM RODAPE --> 3688
3689<script> 3690 document.addEventListener('DOMContentLoaded', function () { 3691 // CONTADOR DE ITENS 3692 function itemsGen(contItem) { 3693 const classEspecial = document.querySelectorAll(contItem) 3694 for (const iterator of classEspecial.values()) { 3695 const qtd = iterator.children.length 3696 iterator.classList.add("js-l" + qtd); 3697 } 3698 3699 } 3700 3701 if (document.querySelectorAll('.contador-itens').length) { 3702 itemsGen('.contador-itens'); 3703 } 3704 // FIM CONTADOR DE ITENS 3705 3706 // ACESSIBILIDADE 3707 sw_acessibilidade({ 3708 layout: "a3", // { a1 = PADRÃO SWE NO CANTO SUPERIOR DIREITO | a2 = FIXO NO CANTO ESQUERDO | a3 = ALINHADAS INLINE-BLOCK } 3709 caminho: "#e_acessibilidade" // SÃ INFORMAR PARA O PADRÃO 'a3', POIS A FUNÃÃO IRÃ INSERIR OS ELEMENTOS DENTRO DESTE CAMINHO 3710 }); 3711 // FIM ACESSIBILIDADE 3712 3713 // SETA PADDINGS NOS MÃDULOS COM BG DIFERENTES 3714 const swop_capa = document.querySelectorAll('.swop_capa'); 3715 if (swop_capa.length) { 3716 swop_capa.forEach(function (modulo, i) { 3717 let anterior = (i - 1 >= 0) ? swop_capa[i - 1] : false; 3718 let posterior = (i + 1 <= swop_capa.length) ? swop_capa[i + 1] : false; 3719 3720 // CAPTURANDO PRIMEIRO ELEMENTO DE CADA MÃDULO 3721 modulo = modulo.querySelector('div'); 3722 if (anterior) { anterior = anterior.querySelector('div'); } 3723 if (posterior) { posterior = posterior.querySelector('div'); } 3724 3725 // ANALISANDO BG 3726 if (anterior && window.getComputedStyle(anterior, null).getPropertyValue('background') != window.getComputedStyle(modulo, null).getPropertyValue('background')) { 3727 anterior.classList.add("pdb"); 3728 modulo.classList.add("pdt"); 3729 } 3730 if (posterior && window.getComputedStyle(posterior, null).getPropertyValue('background') != window.getComputedStyle(modulo, null).getPropertyValue('background')) { 3731 posterior.classList.add("pdt"); 3732 modulo.classList.add("pdb"); 3733 } 3734 }); 3735 } 3736 // FIM SETA PADDINGS NOS MÃDULOS COM BG DIFERENTES 3737 }); 3738</script>
3738</footer> 3739 3740<!-- Necessário para popup --> 3741<!-- POPUP --> 3742<!-- FIM POPUP --><!--SETA PARA VOLTAR AO TOPO DO SITE--> 3743<div id="cont_position_topo" style="z-index:999999"> 3744 <div id="cont_boton_top" class="trans"> 3745 <a style="cursor:pointer;" id="top">Seta </a> 3746 </div> 3747</div> 3748<!--FIM SETA TOPO DO SITE--> 3749 3750<div id="aparecer_rodape_mobile"> 3751 <div id="rodape_mobile" class="cor_rodape"> 3752 <div class="infos">Telefone: (32) 3198-1000 </div> 3753 3754 <div class="infos">Endereço: Rua Silva Jardim, 340 - Boa Morte, MG | CEP: 36201-004 </div> 3755 3756 <div class="infos">Das 08:00hs às 17:00h </div> 3757 3758 <div class="infos">CNPJ: 17.095.043/0001-09 </div> 3759 3760 <div class="infos">Prefeitura Municipal de Barbacena</div> 3761 </div> 3762 3763 3764 <!-- INFO DO SISTEMA --> 3765 <div class="sw_area_info_sistema"> 3766 <div class="sw_info_sistema"> 3767 <span class="swfa fas fa-wrench sw_icone_info_sistema"></span> 3768 <span class="sw_texto_info_sistema">Versão do Sistema: <strong>3.5.6 - 21/09/2026</strong></span> 3769 </div> 3770 3771 <div class="sw_info_sistema"> 3772 <a href="/portal/busca/0/23-09-2026/23-09-2026"> 3773 <span class="swfa far fa-clock sw_icone_info_sistema"></span> 3774 <span class="sw_texto_info_sistema">Portal atualizado em: <strong>23/09/2026 22:24</strong></span> 3775 </a> 3776 </div> 3777 3778 <div class="sw_info_sistema"> 3779 <a href="/portal/dados-abertos"> 3780 <span class="swfa fas fa-database sw_icone_info_sistema"></span> 3781 <span class="sw_texto_info_sistema">Dados Abertos</span> 3782 </a> 3783 </div> 3784 </div> 3785 <!-- FIM DO SISTEMA --> 3786 3787 <!-- DIREITOS INSTAR --> 3788 <div class="direitos_instar"> 3789 <a rel="noreferrer" href="https://www.instar.com.br/" target="_blank" title="Visite nosso site"> 3790 <span class="sw_lato"><span class="swfa far fa-copyright" aria-hidden="true"></span> Copyright Instar - 2006-2026. Todos os direitos reservados - <strong class="sw_lato_black">Instar Tecnologia</strong></span> 3791 <img src="/imgcomum/direitos_instar.svg" alt="Instar Tecnologia"> 3792 </a> 3793 </div> 3794</div> 3795 <!-- FIM RODAPE --> 3796 3797 </body> 3798</html>
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.