<script type="text/javascript">
do***ent.createElement("picture");
</script>
<script type="text/javascript" src="https://jus.com.br/assets/extras/picturefill.min-98226ce275e86062f295b1d505***a5933bd6408288de9f9464c1f413f815f0bf.js"></script>
<script type="text/javascript">
var googletag=googletag||{};
googletag.cmd=googletag.cmd||[],function(){var t=do***ent.createElement("script");
t.async=!0,t.type="text/javascript";
var e="https:"==do***ent.location.protocol;
t.src=(e?"https:":"http:")+"//www.googletagservices.com/tag/js/gpt.js";
var o=do***ent.getElementsByTagName("script")[0];
o.parentNode.insertBefore(t,o)}();
</script>
<script type="text/javascript">
window._vwo_code = window._vwo_code || (function(){
var account_id=436276,
settings_tolerance=2000,
library_tolerance=2500,
use_existing_jquery=false,
is_spa=1,
hide_element='body',
/* DO NOT EDIT BELOW THIS LINE */
f=false,d=do***ent,code={use_existing_jquery:function(){return use_existing_jquery;
},library_tolerance:function(){return library_tolerance;
},finish:function(){if(!f){f=true;
var a=d.getElementById('_vis_opt_path_hides');
if(a)a.parentNode.removeChild(a);
}},finished:function(){return f;
},load:function(a){var b=d.createElement('script');
b.src=a;
b.type='text/javascript';
b.innerText;
b.onerror=function(){_vwo_code.finish();
};
d.getElementsByTagName('head')[0].appendChild(b);
},init:function(){
settings_timer=setTimeout('_vwo_code.finish()',settings_tolerance);
var a=d.createElement('style'),b=hide_element?hide_element+'{opacity:0 !important;
filter:alpha(opacity=0) !important;
background:none !important;
}':'',h=d.getElementsByTagName('head')[0];
a.setAttribute('id','_vis_opt_path_hides');
a.setAttribute('type','text/css');
if(a.styleSheet)a.styleSheet.cssText=b;
else a.appendChild(d.createTextNode(b));
h.appendChild(a);
this.load('//dev.visualwebsiteoptimizer.com/j.php?a='+account_id+'&u='+encodeURIComponent(d.URL)+'&f='+(+is_spa)+'&r='+Math.random());
return settings_timer;
}};
window._vwo_settings_timer = code.init();
return code;
}());
</script>
<script type="text/javascript">
googletag.cmd.push(function() {
var mapping1 = googletag.sizeMapping().
addSize([320, 300], [300, 250]).
addSize([750, 300], [728, 90]).
// addSize([980, 300], [728, 90]).
addSize([980, 300], [[728, 90], [970, 250]]).
// addSize([980, 300], [[970, 250], [728, 90]]).
build();
var mapping1_middle = googletag.sizeMapping().
addSize([320, 300], [300, 250]).
addSize([750, 300], [728, 90]).
addSize([980, 300], [468, 60]).
addSize([1***5, 300], [728, 90]).
build();
var mapping3 = googletag.sizeMapping().
addSize([320, 200], [300, 100]).
addSize([480, 200], [468, 60]).
build();
var mapping4 = googletag.sizeMapping().
addSize([320, 300], [300, 250]).
addSize([800, 300], [728, 90]).
addSize([980, 300], [970, 250]).
build();
var adSlotLateralMeio = googletag.defineSlot('/32528872/lateral-meio', [300, 250], 'slot-lateral-meio').addService(googletag.pubads());
googletag.defineSlot('/32528872/lateral-selo', [300, 75], 'div-gpt-ad-1417045707520-10').addService(googletag.pubads());
googletag.defineSlot('/32528872/lateral-selo-1', [300, 75], 'div-gpt-ad-1417045707520-11').addService(googletag.pubads());
googletag.defineSlot('/32528872/lateral-selo-2', [300, 75], 'div-gpt-ad-1417045707520-12').addService(googletag.pubads());
googletag.defineSlot('/32528872/lateral-selo-3', [300, 75], 'div-gpt-ad-1417045707520-13').addService(googletag.pubads());
var adSlotLateralPreRodape = googletag.defineSlot('/32528872/lateral-pre-rodape', [300, 250], 'slot-lateral-pre-rodape').addService(googletag.pubads());
window.slotTop = googletag.defineSlot('/32528872/principal-topo', [300, 250], 'slot-principal-topo').defineSizeMapping(mapping1).addService(googletag.pubads());
window.slotBottom = googletag.defineSlot('/7542/parceiros/jusnavigandi', [[728, 90], [300, 250]], 'slot-rodape-grande').defineSizeMapping(mapping4).addService(googletag.pubads());
googletag.pubads().collapseEmptyDivs();
googletag.pubads().enableSingleRequest();
googletag.pubads().setTargeting('Section', ['home']);
googletag.enableServices();
});
var _debounce=function(e,n,o){var t;
return function(){var i=this,u=arguments,r=function(){t=null,o||e.apply(i,u)},a=o&&!t;
clearTimeout(t),t=setTimeout(r,n),a&&e.apply(i,u)}};
window.addEventListener("resize",_debounce(function(){googletag.pubads().refresh([window.slotForum,window.slotContent,window.slotTop,window.slotBottom])},200));
</script>
<script type="text/javascript" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script type="text/javascript">
(adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: "ca-pub-873***0982199641", enable_page_level_ads: true
});
</script>
<script type="text/javascript">
(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,do***ent,'script','dataLayer','GTM-NF37WRR');
</script>
<script type="text/javascript">
(function () {
window.universal_variable = window.universal_variable || {};
window.universal_variable.dfp = window.universal_variable.dfp || {};
window.uolads = window.uolads || [];
})();
</script>
<script type="text/javascript" src="//tm.jsuol.com.br/uoltm.js?id=8vn9kt"></script>
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;
i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();
a=s.createElement(o),
m=s.getElementsByTagName(o)[0];
a.async=1;
a.src=g;
m.parentNode.insertBefore(a,m)
})(window,do***ent,'script','//www.google-analytics.com/analytics.js','ga');
function getHiddenProp(){var prefixes=['webkit','moz','ms','o'];
if('hidden' in do***ent)return 'hidden';
for(var i=0;
i<prefixes.length;
i++){if((prefixes[i]+'Hidden') in do***ent)return prefixes[i]+'Hidden';
}return null;
}
function isHidden(){var prop=getHiddenProp();
if(!prop)return false;
return do***ent[prop];
}
function track_ga(){var waiting_time=30000;
ga('send','pageview');
if(!getHiddenProp()) return;
if(!isHidden()){var timeout=setTimeout(function(){setTimeout(event_poller.bind(null,0,waiting_time),waiting_time);
},waiting_time);
do***ent.addEventListener('visibilitychange',function(){do***ent.removeEventListener('visibilitychange',arguments.callee);
if(isHidden())clearTimeout(timeout);
});
}else{do***ent.addEventListener('visibilitychange',function(){do***ent.removeEventListener('visibilitychange',arguments.callee);
track_ga();
});
}}
function event_poller(timing, wait){ga('send','event','Time','log',String(timing));
setTimeout(event_poller.bind(null,timing+wait/1000,wait),wait);
}ga('create', 'UA-176028-1', 'auto');
ga('set', 'hostname', 'jus.com.br');
ga('require', 'linkid');
ga('require', 'displayfeatures');
ga('set', 'dimension6', 'Visitante');
track_ga();
</script>
<script type="text/javascript">
var userData = { login: false, env: "production", root_url: "https://jus.com.br/"
};
</script>
<script type="text/javascript">
getQueryParam = function(param) {
var results = new RegExp('[\\?&]' + param + '=([^&#]*)').exec(window.location);
return (results ? decodeURIComponent(results[1].replace(/\+/g, ' ')) : null);
}
var qq = do***ent.querySelectorAll('.page-search .search-form .search-input')
, qp = getQueryParam('q');
if (qp != '' && qp != null) {
for (var i = 0;
i < qq.length;
i++) {
qq[i].value = qp.replace(/(<([^>]+)>)/ig,"");
}
}
</script>
<script type="text/javascript">
var userData = { login: false, env: "production", root_url: "https://jus.com.br/"
};
</script>
<script type="text/javascript" src="https://securepubads.g.doubleclick.net/static/glade.js"></script>
<script type="text/javascript">
googletag.cmd.push(function() {
googletag.display('slot-lateral-meio');
});
</script>
<script type="text/javascript">
googletag.cmd.push(function() {
googletag.display('div-gpt-ad-1417045707520-10');
});
</script>
<script type="text/javascript">
googletag.cmd.push(function() {
googletag.display('div-gpt-ad-1417045707520-11');
});
</script>
<script type="text/javascript">
googletag.cmd.push(function() {
googletag.display('div-gpt-ad-1417045707520-12');
});
</script>
<script type="text/javascript">
googletag.cmd.push(function() {
googletag.display('div-gpt-ad-1417045707520-13');
});
</script>
<script type="text/javascript">
googletag.cmd.push(function() {
googletag.display('slot-lateral-pre-rodape');
});
</script>
<script type="text/javascript" src="https://www.googletagservices.com/tag/js/gpt.js"></script>
<script type="text/javascript">
var size = [300, 250]
, position = 'island';
var mq = window.matchMedia('(min-width: 730px)');
if (mq.matches) {
size = [728, 90];
position = 'superbanner';
}
var _ttprofiles = _ttprofiles || [];
_ttprofiles.profiles = [];
_ttprofiles.push(['_setAccount', 'TT-9964-3']);
_ttprofiles.push(['_enableServices']);
googletag.pubads().setTargeting('age', _ttprofiles.getAge);
googletag.pubads().setTargeting('gender', _ttprofiles.getGender);
googletag.pubads().setTargeting('cluster', _ttprofiles.getProfiles);
googletag.pubads().setTargeting('subjects', _ttprofiles.getSubjects);
googletag.pubads().setTargeting('team', _ttprofiles.getTeam);
googletag.pubads().setTargeting('sclass', _ttprofiles.getSocialClass);
googletag.pubads().setTargeting('msegments', _ttprofiles.getMicrosegments);
googletag.pubads().setTargeting('customaud', _ttprofiles.getCustomAudience);
// googletag.pubads().definePassback('/7542/parceiros/jusnavigandi', size).setTargeting('pos', position).setTargeting('context', 'principal').display();
</script>
<script type="text/javascript" src="https://jus.com.br/assets/application-109fab51cd210360df9754ed329ab50b5bcf82cb37df01da8dcb1e04bb224a13.js"></script>
<script type="text/javascript">
var AUTH_TOKEN = "a59ORH5WdjdAogSMd68oruLtk4SJKTeAG/tnPjS66rQY/It3agN7XekP4DlPa24Kxcm5C6GBnM94sm5RgZN4qw==";
(function() {
var username = do***ent.querySelector('.me .username');
if (!!username) {
username.setAttribute('data-toggle', 'dropdown');
username.insertAdjacentHTML('beforeend', '<span class="caret">');
}
})();
jQuery(function($){
$('#signin-modal').on('shown.bs.modal', function() {
if (typeof userData != "undefined" && userData.login) {
$(this).modal('hide');
} else {
$(this).find('#email').focus();
}
});
$('#signin-modal').on('hide', function() {
$(this).find('.alert').remove();
$(this).find('form')[0].reset();
});
$(do***ent).on('click.dropdown.link', '#settings-content a', function(e) {
$(e.currentTarget).parents('.me').removeClass("open");
});
$(do***ent).on('click.dropdown.form', '.dropdown-menu form', function(e) {
e.stopPropagation();
});
$(do***ent).on('click.search.icon', '.search-form .icon', function(e) {
$(e.currentTarget).siblings('.search').focus();
});
if ($('#main > .alert').length > 0 ) {
var t = $('#main > .alert')
, h = -1 * t.outerHeight() - 4;
t.css('top', h).click(function() {
$(this).alert('close');
});
window.setTimeout(function() {
t.animate({ top: "-4px"
}, 200);
}, 200);
};
$('button[data-form]').click(function(e) {
e.preventDefault();
var target = $(this).data('form');
$(target).submit();
});
$(".modal form[data-remote]").on("ajax:beforeSend", function(xhr, settings) {
$(this).css('opacity', .5);
}).on("ajax:complete", function(xhr, status) {
$(this).css('opacity', 1);
});
$(".navbar-tabs .navbar-brand").text($(".navbar-tabs .active").text());
var trunc = do***ent.querySelectorAll(".ellipsis");
for (var i = 0;
i < trunc.length;
i++) {
lineClamp = trunc[i].dataset.lineClamp;
$clamp(trunc[i], { clamp: lineClamp
});
}
$(do***ent).on('click.fake', '.input-fake, .btn-fake', function() {
$(this).css('opacity', 0.6);
window.location.href = "https://jus.com.br/pergunte";
});
var results_category = $('#results').html();
$("#search_category").keyup(function(e){
var q = $("#search_category").val();
if (q.length > 2) {
$("#filter_category span:not('.sending')").addClass("sending");
$.getJSON("/assuntos", { query: q, limit: 10
}, function(data) {
$("#filter_category span.sending").removeClass("sending");
$("#results").empty();
$.each(data, function(i, item) {
$("#results").append('<li><a href="/tudo/' + item.slug + '">' + item.name + '');
});
});
}
if (q.length == 0) {
$("#results").html(results_category);
}
});
$("a[data-toggle=popover]").popover();
$('.clear-input').clearInput();
// Spec Search
var engSpec = new Bloodhound({
limit: 30,
remote: {
url: '/especialidades/autocomplete?query=%QUERY',
filter: function (specs) {
return $.map(specs, function (spec) {
return { value: spec.name
};
});
}
},
datumTokenizer: function(d) {
return Bloodhound.tokenizers.whitespace(d.label);
},
queryTokenizer: Bloodhound.tokenizers.whitespace
});
engSpec.initialize();
$('#search_spec').tokenfield({
limit: 0,
typeahead: [null, {
name: 'interests',
source: engSpec.ttAdapter()
}]
})
.on('tokenfield:createtoken', function (event) {
var existingTokens = $(this).tokenfield('getTokens');
if (existingTokens.length >= 1)
event.preventDefault();
else{
$.each(existingTokens, function(index, token) {
if (token.value === event.attrs.value) {
event.preventDefault();
}
});
}
});
// City Search
var engCities = new Bloodhound({
limit: 30,
remote: {
url: '/buscar/cidades?query=%QUERY',
filter: function (cities) {
return $.map(cities, function (city) {
return { value: city.name
};
});
}
},
datumTokenizer: function(d) {
return Bloodhound.tokenizers.whitespace(d.label);
},
queryTokenizer: Bloodhound.tokenizers.whitespace
});
engCities.initialize();
$('#search_city').tokenfield({
limit: 0,
typeahead: [null, {
name: 'interests',
source: engCities.ttAdapter()
}]
}).on('tokenfield:createtoken', function (event) {
var existingTokens = $(this).tokenfield('getTokens');
if (existingTokens.length >= 1)
event.preventDefault();
else{
$.each(existingTokens, function(index, token) {
if (token.value === event.attrs.value) {
event.preventDefault();
}
});
}
});
$("#menu-toggle, .exit-sidenav").click(function(e) {
e.preventDefault();
$("body").toggleClass("sidenav-open");
});
$('.affix-top').on('affixed.bs.affix', function() {
$('body').addClass('affixed');
}).on('affixed-top.bs.affix', function() {
$('body').removeClass('affixed');
});
$(do***ent).on('click.calendar', '.btn-calendar', function() {
var mc = $('#modal-calendar');
$('#calendar').datepicker({
format: "dd/mm/yyyy",
endDate: "Today",
language: "pt-BR"
}).on('changeDate', function(ev) {
var dmy = ev.date.getFullYear() + '/' + (ev.date.getMonth() + 1) + '/' + ev.date.getDate();
mc.modal('hide');
window.location.href = "https://jus.com.br/revista/edicoes/" + dmy;
});
mc.modal('show');
});
var formSubscribe = $('form#form_subscribe')
, inputEmail = formSubscribe.find('input[name="email"]')
, btnSubmit = formSubscribe.find('input[type="submit"]')
, ckBoxes = formSubscribe.find('input[type="checkbox"]')
, otherOccupation = $('#other_occupation_ids');
formSubscribe.submit( function(e){
e.preventDefault();
}).validate({
rules: {
email: {
required: true,
email: true
},
'occupation_ids[]': {
required: {
depends: function(element){
var boxes = $('occupations_group input:checkbox');
return (boxes.filter(':checked').length == 0);
}
}
}
, 'occupation_others': {
required: {
depends: function(element){
return ($('input:checked#occupation_ids_21').length > 0);
}
}
}
},
messages: {
email: 'Informe um email válido'
, 'occupation_ids[]': 'Preencha uma profissão'
, 'occupation_others': 'Informe pelo menos uma profissão'
},
errorElement: 'div',
errorLabelContainer: '.text-error',
submitHandler: function(form) {
var requestSubscriber = $.ajax({
type: 'POST'
, url: '/assinar'
, data: formSubscribe.serialize()
, beforeSend: function( xhr ) {
inputEmail.addClass('loading-gif');
btnSubmit.val('Cadastrando...').prop('disabled', true);
inputEmail.prop('disabled', true)
ckBoxes.prop("disabled", true);
otherOccupation.tokenfield('disable');
}
});
requestSubscriber.done(function(data) {
inputEmail.removeClass('loading-gif');
btnSubmit.val('Cadastrar');
if (data.success){
if (data.lawyer)
window.location.replace('/advogados/participe');
$('#newsletter .container h3').fadeOut(0).html(data.message).fadeIn();
formSubscribe.remove();
}
});
}
});
$('input#occupation_ids_21').click(function() {
if ( $("input:checked#occupation_ids_21").length > 0 )
$('input[name="occupation_others"]').parents('.form-group').removeClass('hide');
else
$('input[name="occupation_others"]').parents('.form-group').addClass('hide');
});
$.fn.custom_tokenfield('https://jus.com.br/profissoes/autocomplete', 'other_occupation_ids', []);
var select_state = $('#asking-corner-select-state')
, select_city = $('#asking-corner-select-city')
, div_city = $('.select-city-div')
, button_submit = $('#asking-corner-submit-button');
select_state.on('change', function (e) {
var value = e.target.value;
var items = '<option value="">Selecione uma Cidade';
select_city.prop('disabled', true);
select_city.empty();
if (value == '') {
select_city.append(items);
button_submit.prop('disabled', true);
} else {
div_city.addClass('waiting');
$.getJSON('https://api.jus.com.br/1.0/cidades?state=' + value, function(data) {
data.data.map(function (item) {
items += '<option value="' + item.long_name + '">' + item.name + '';
});
select_city.append(items);
div_city.removeClass('waiting');
});
}
select_city.prop('disabled', false);
});
select_city.on('change', function (e) {
var value = e.target.value;
button_submit.prop('disabled', !value.length);
});
$button = $('.call-window-corner a');
$close = $('#box-asking-corner .close a');
$window = $('#box-asking-corner .window');
$button.click(function(e) {
e.preventDefault();
$window.removeClass('down').addClass('up');
});
$close.click(function(e) {
e.preventDefault();
$window.removeClass('up').addClass('down');
});
})
var _ouibounce = ouibounce(do***ent.getElementById('modal-unbounce'), { cookieName: 'modalAgendas2019', cookieDomain: '.jus.com.br'
});
var outOuibounce = do***ent.do***entElement;
var modalOuibounce = do***ent.getElementById('modal-unbounce');
var closeOuibounce = modalOuibounce.querySelector('.close');
var contentOuibounce = modalOuibounce.querySelector('.modal-content');
outOuibounce.addEventListener('click', function(e) {
modalOuibounce.style.display = 'none';
}, false);
closeOuibounce.addEventListener('click', function(e) {
modalOuibounce.style.display = 'none';
}, false);
contentOuibounce.addEventListener('click', function(e) {
e.stopPropagation();
}, false);
new LazyLoad();
</script>
<script type="text/javascript">
(function () {
window.universal_variable = window.universal_variable || {};
window.universal_variable.dfp = window.universal_variable.dfp || {};
window.uolads = window.uolads || [];
})();
</script>
<script type="text/javascript" src="//tm.jsuol.com.br/uoltm.js?id=8vn9kt"></script>
<script type="text/javascript" src="https://tags.premiumads.com.br/dfp/b0ddb61f-6548-45d9-8a1d-1a7d37baaedf"></script>