2500
| <![CDATA[<script>
window.addEventListener('DOMContentLoaded', () => {
setTimeout(() => {
const myCallback = function() {
if (document.readyState == 'complete') {
google.search.cse.element.render(
{
div: 'searchGoogleContent',
tag: 'search'
});
} else {
google.setOnLoadCallback(function() {
google.search.cse.element.render(
{
div: 'searchGoogleContent',
tag: 'search'
});
}, true);
}
};
window.__gcse = {
parsetags: 'explicit',
callback: myCallback
};
(() => {
const cx = '011042267039235339792:w6o5jhhdtiy';
const gcse = document.createElement('script'); gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
const s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
}, 2000);
})
</script>]]>
|
3036
| <![CDATA[<script>
$('#carouselOutrasNoticias .owl-carousel').owlCarousel({
items: 1,
autoplayTimeout: 6000,
loop : false,
smartSpeed:600,
margin: 10,
dots: false,
nav: true,
navText: ['<svg viewBox="0 0 6.24 10.32"><path fill-rule="evenodd" clip-rule="evenodd" fill="currentColor" d="M0,10.32h6.24V0H0V10.32z M3.79,6.96l-1.75-1.8l1.75-1.8L4.2,3.78L2.86,5.16L4.2,6.54L3.79,6.96z"/></svg>','<svg viewBox="0 0 6.24 10.32"><path fill-rule="evenodd" clip-rule="evenodd" fill="currentColor" d="M6.24,0H0v10.32h6.24V0z M2.45,3.359l1.75,1.8l-1.75,1.8L2.04,6.54l1.34-1.38l-1.34-1.38L2.45,3.359z"/></svg>'],
responsiveClass:true,
responsive : {
768 : {
items: 2
},
992 : {
items: 4
}
}
});
$('.gallery').magnificPopup({
delegate: 'a',
type: 'image',
removalDelay: 300,
mainClass: 'mfp-fade',
gallery: {
enabled: true
}
});
$('.gallery_single').magnificPopup({
delegate: 'a',
type: 'image',
removalDelay: 300,
mainClass: 'mfp-fade',
gallery: {
enabled: false
}
});
var self = this;
if(self.dadosNoticia.video){
self.fotoCompartilhar = self.dadosNoticia.video.image;
} else if(self.image_medium){
self.fotoCompartilhar = self.image_medium;
} else if(self.fotosNoticia){
var cover = false;
for (let index = 0; index < self.fotosNoticia.length; index++) {
if(self.fotosNoticia[index].cover == true){
self.fotoCompartilhar = self.fotosNoticia[index].image_url_medium;
cover = true;
}
}
if(!cover){
self.fotosNoticia[0].image_url_medium;
}
} else{
self.fotoCompartilhar = 'https://www.cristal.rs.gov.br/images/padrao_noticias.jpg';
}
</script>]]>
|