6
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-54265828-2');
</script>]]>
|
64
| <![CDATA[<script>
var SUFFIX = '';
var URL_SITE = 'https://camarabp.sp.gov.br';
</script>]]>
|
70
| <![CDATA[<script>window.jQuery || document.write('<script src="https://camarabp.sp.gov.br/site/js/vendor/jquery-3.2.1.min.js"><\/script>')</script>]]>
|
72
| <![CDATA[<script type="text/javascript">
var LHCChatOptions = {};
LHCChatOptions.opt = {widget_height:340,widget_width:300,popup_height:520,popup_width:500};
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
var referrer = (document.referrer) ? encodeURIComponent(document.referrer.substr(document.referrer.indexOf('://')+1)) : '';
var location = (document.location) ? encodeURIComponent(window.location.href.substring(window.location.protocol.length)) : '';
po.src = '//camarabp.sp.gov.br/lhc_web/index.php/por/chat/getstatus/(click)/internal/(position)/bottom_right/(ma)/br/(top)/350/(units)/pixels/(leaveamessage)/true?r='+referrer+'&l='+location;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>]]>
|
89
| <![CDATA[<script>(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id))
return;
js = d.createElement(s);
js.id = id;
js.src = 'https://connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.12&appId=420638358359540&autoLogAppEvents=1';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>]]>
|
848
| <![CDATA[<script>
function chatVereador() {
(function () {
var po = document.createElement('script');
po.type = 'text/javascript';
po.async = true;
var referrer = (document.referrer) ? encodeURIComponent(document.referrer.substr(document.referrer.indexOf('://') + 1)) : '';
var location = (document.location) ? encodeURIComponent(window.location.href.substring(window.location.protocol.length)) : '';
po.src = `//cmbp/lhc_web/index.php/por/chat/getstatus/(click)/internal/(position)/bottom_right/(ma)/br/(top)/350/(units)/pixels/(leaveamessage)/true/(department)/10?r=${referrer}&l=${location}`;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(po, s);
})();
setTimeout(() => {
return lh_inst.lh_openchatWindow();
}, 250);
}
$.get(`https://camarabp.sp.gov.br/lhc_web/index.php/restapi/isonlinedepartment/10`, function (data) {
if (data.isonline) {
$("#btn-live-chat").addClass("onlinelhc");
$("#btn-live-chat").text("Chat Online");
$("#btn-live-chat").attr("onclick", "return chatVereador();");
} else {
$("#btn-live-chat").addClass("offlinelhc");
$("#btn-live-chat").text("Chat Offline")
}
});
</script>]]>
|
988
| <![CDATA[<script>
function photoswipe(event, element) {
var parent = $(element).parents('.ps-gallery');
var find = $('.photoswipe');
if (parent.length) {
find = parent.find('.photoswipe');
}
event.preventDefault();
var clicked = $(element).attr('href');
var index = 0;
var images = [];
find.each(function (i) {
var a = $(this);
images.push({
src: a.attr('href'),
w: a.data('w'),
h: a.data('h'),
title: a.attr('title')
});
if (clicked == a.attr('href')) {
index = i;
}
});
var options = {
index: index,
bgOpacity: 0.8,
zoomEl: false,
shareEl: false
};
var pswpElement = document.querySelectorAll('.pswp')[0];
var gallery = new PhotoSwipe(pswpElement, PhotoSwipeUI_Default, images, options);
gallery.init();
}
</script>]]>
|