13
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-285486-1');
gtag('config', 'UA-285486-76', {'groups':'ibgelabs'});
</script>]]>
|
25
| <![CDATA[<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-5ND2WBQ');</script>]]>
|
78
| <![CDATA[<script type="application/json" class="joomla-script-options new">{"csrf.token":"024b225aa7a039b92caf1037e3be7c45","system.paths":{"root":"","base":""}}</script>]]>
|
324
| <![CDATA[<script>
jQuery(document).ready(function() {
jQuery('.combo_edicoes').each(function(i, e) {
var $this = jQuery(this);
var nomesIguais = jQuery($this.find("option")[1]).text().trim() === jQuery($this.parents(".conteudo__interna__caixa").find(".productTitle")).text().trim();
var edicaoUnica = $this.find("option").length === 2;
if (edicaoUnica && nomesIguais) {
$this.parents(".conteudo__interna__caixa").addClass("sem-edicao");
$this.remove();
} else {
if ($this.find("option").length > 2) {
$this.chosen({
width: "100%",
rtl: false,
placeholder_text_single: jQuery($this.find("option")[1]).text()
});
} else {
$this.after('<p class="combo_edicoes_direct"><a href="' + $this.parent().siblings("a").attr("href") + '">' + $this.find("option").text().trim() + '</a></p>');
$this.remove();
}
}
});
jQuery("#agregadoraResumoConteudo hr").each(function(i, e) {
var itemsOrdered = jQuery(jQuery(jQuery(this).prevUntil("hr")).get().reverse());
var title = JSON.parse(atob(jQuery(this).prevUntil("hr", "div[id*=tabelasidra]").attr("data-tablealias"))).graficoTitulo;
jQuery(this).prevUntil("hr", ".exportHolder").remove();
jQuery(this).prevUntil("hr", ".zoomTip").remove();
jQuery("#seletorGrafico").append("<option value='" + i + "'>" + title + "</option>");
itemsOrdered.wrapAll("<div id='agregadoraResumoContainer_" + i + "' class='conteudo__interna__resumo--container' />");
jQuery("#agregadoraResumoMenu ul").append("<li id='agregadoraResumoMenuItem_" + i + "' class='conteudo__interna__resumo--menu-item' onclick='showResumeChart(" + i + ");'>" + title + "</li>");
if (jQuery("#agregadoraResumoConteudo hr").length == i + 1)
jQuery("#agregadoraResumoConteudo > *:not(.conteudo__interna__resumo--container)").remove();
});
});
jQuery(window).on("load", function() {
setTimeout(function() {
jQuery(".conteudo__interna__resumo--conteudo, .conteudo__interna__resumo--menu").css("opacity", 1);
jQuery(".load-chart").fadeOut();
if (jQuery(".conteudo__interna__resumo--menu-item").length > 0)
showResumeChart(0);
}, 500);
});
function showResumeChart(index) {
jQuery(".conteudo__interna__resumo--container").hide();
jQuery(".conteudo__interna__resumo--container").hide();
jQuery(".conteudo__interna__resumo--menu-item").removeClass("selected");
jQuery("#agregadoraResumoContainer_" + index).show();
jQuery("#agregadoraResumoMenuItem_" + index).addClass("selected");
jQuery("#seletorGrafico").val(index);
var chart = jQuery("#agregadoraResumoContainer_" + index + " div[id*=highcharts]").parent();
chart.height("400");
chart.highcharts().reflow();
}
</script>]]>
|
415
| <![CDATA[<script>
function goToStep(button, step) {
var _this = jQuery(button);
var thisStep = _this.parent().attr("data-step");
var nextStep = step;
jQuery('.container__foiutil__step[data-step=' + nextStep + ']').show();
jQuery('.container__foiutil__step[data-step=' + thisStep + ']').hide();
if(nextStep == 3){
if(thisStep == 1)
sendResultFoiUtil(false);
else
sendResultFoiUtil(true);
}
}
function sendResultFoiUtil(hasComment) {
var container = jQuery("#container-foiutil");
var obj = {};
obj.id_aplicacao = parseInt(container.attr("data-aplicacao"));
obj.id_modelo = parseInt(container.attr("data-modelo"));
obj.url = location.href;
obj.ip = "192.168.152.80";
obj.browser = " 0 - unix";
obj.mobile = "0";
obj.respostas = [];
if(hasComment) {
obj.respostas.push({num_questao: "1",
resposta: "0",
observacao: ""
});
obj.respostas.push({num_questao: "2",
resposta: "",
observacao: jQuery('.container__foiutil__step[data-step=2]').find("textarea").val()
});
} else {
obj.respostas.push({num_questao: "1",
resposta: "1",
observacao: ""
});
obj.respostas.push({num_questao: "2",
resposta: "",
observacao: ""
});
}
//Envia resultados
jQuery.ajax({
url: '/index.php?option=com_questionario&format=json',
type: 'POST',
headers: {
'Content-Type':'application/json'
},
data: JSON.stringify(obj),
dataType: "json",
success: function(data) {
}
});
}
</script>]]>
|
718
| <![CDATA[<script>
jQuery('.accordion-mobile span').click(function(evt) {
if (jQuery(window).width() < 1024) {
jQuery(this).next().toggle("slide");
jQuery(this).toggleClass("active");
}
});
var baseSticky = 95;
jQuery(document).ready(function(){
var scroll = jQuery(window).scrollTop();
changeHeaderScroll(scroll);
});
jQuery(window).scroll(function() {
var scroll = jQuery(window).scrollTop();
changeHeaderScroll(scroll);
});
function changeHeaderScroll(scroll) {
if (scroll >= baseSticky) {
jQuery("body").addClass("sticky");
} else {
jQuery("body").removeClass("sticky");
}
}
</script>]]>
|
750
| <![CDATA[<script>
var unique_getCod_var = '';
function unique_getCodMiniURLQR_main(){
var local_url = window.location.toString();
if (local_url.indexOf("barragov")<0)
{
var full_url = 'https://cod.ibge.gov.br/min?js=unique_getCod_var=&u=' + encodeURIComponent(local_url);
//unique_getCodMiniURLQR_ajax(full_url,unique_getCodMiniURLQR_AfterFunc);
}
}
function unique_getCodMiniURLQR_ajax(url,afterfunction) {
//Onde: url = URL a ser carregada | e afterfunction = fnção a ser executada apos o carregamento da url, opcional
var headID = document.getElementsByTagName("head")[0];
var newScript = document.createElement('script');
newScript.type = 'text/javascript';
newScript.src = url;
newScript.id = 'tempdatascript' + Math.floor(Math.random()*9999999);
headID.appendChild(newScript);
if(navigator.appName == 'Microsoft Internet Explorer'){
newScript.onreadystatechange= function(){ if (this.readyState == 'complete' || this.readyState == 'loaded')afterfunction();}
}else{
newScript.onload = afterfunction;
}
}
function unique_getCodMiniURLQR_AfterFunc(){
//Matenha esta funcao vazia
}
unique_getCodMiniURLQR_main();
</script>]]>
|
791
| <![CDATA[<script>
var erro_servico = [];
</script>]]>
|