15
| <![CDATA[<script type="text/javascript">
window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/14.0.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/www.craibas.al.gov.br\/portal\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.2.2"}};
/*! This file is auto-generated */
!function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){p.clearRect(0,0,i.width,i.height),p.fillText(e,0,0);e=i.toDataURL();return p.clearRect(0,0,i.width,i.height),p.fillText(t,0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r<o.length;r++)t.supports[o[r]]=function(e){if(p&&p.fillText)switch(p.textBaseline="top",p.font="600 32px Arial",e){case"flag":return s("\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!s("\ud83c\uddfa\ud83c\uddf3","\ud83c\uddfa\u200b\ud83c\uddf3")&&!s("\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!s("\ud83e\udef1\ud83c\udffb\u200d\ud83e\udef2\ud83c\udfff","\ud83e\udef1\ud83c\udffb\u200b\ud83e\udef2\ud83c\udfff")}return!1}(o[r]),t.supports.everything=t.supports.everything&&t.supports[o[r]],"flag"!==o[r]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[o[r]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(e=t.source||{}).concatemoji?c(e.concatemoji):e.wpemoji&&e.twemoji&&(c(e.twemoji),c(e.wpemoji)))}(window,document,window._wpemojiSettings);
</script>]]>
|
78
| <![CDATA[<script>
var tdBlocksArray = []; //here we store all the items for the current page
//td_block class - each ajax block uses a object of this class for requests
function tdBlock() {
this.id = '';
this.block_type = 1; //block type id (1-234 etc)
this.atts = '';
this.td_column_number = '';
this.td_current_page = 1; //
this.post_count = 0; //from wp
this.found_posts = 0; //from wp
this.max_num_pages = 0; //from wp
this.td_filter_value = ''; //current live filter value
this.is_ajax_running = false;
this.td_user_action = ''; // load more or infinite loader (used by the animation)
this.header_color = '';
this.ajax_pagination_infinite_stop = ''; //show load more at page x
}
// td_js_generator - mini detector
(function(){
var htmlTag = document.getElementsByTagName("html")[0];
if ( navigator.userAgent.indexOf("MSIE 10.0") > -1 ) {
htmlTag.className += ' ie10';
}
if ( !!navigator.userAgent.match(/Trident.*rv\:11\./) ) {
htmlTag.className += ' ie11';
}
if ( navigator.userAgent.indexOf("Edge") > -1 ) {
htmlTag.className += ' ieEdge';
}
if ( /(iPad|iPhone|iPod)/g.test(navigator.userAgent) ) {
htmlTag.className += ' td-md-is-ios';
}
var user_agent = navigator.userAgent.toLowerCase();
if ( user_agent.indexOf("android") > -1 ) {
htmlTag.className += ' td-md-is-android';
}
if ( -1 !== navigator.userAgent.indexOf('Mac OS X') ) {
htmlTag.className += ' td-md-is-os-x';
}
if ( /chrom(e|ium)/.test(navigator.userAgent.toLowerCase()) ) {
htmlTag.className += ' td-md-is-chrome';
}
if ( -1 !== navigator.userAgent.indexOf('Firefox') ) {
htmlTag.className += ' td-md-is-firefox';
}
if ( -1 !== navigator.userAgent.indexOf('Safari') && -1 === navigator.userAgent.indexOf('Chrome') ) {
htmlTag.className += ' td-md-is-safari';
}
if( -1 !== navigator.userAgent.indexOf('IEMobile') ){
htmlTag.className += ' td-md-is-iemobile';
}
})();
var tdLocalCache = {};
( function () {
"use strict";
tdLocalCache = {
data: {},
remove: function (resource_id) {
delete tdLocalCache.data[resource_id];
},
exist: function (resource_id) {
return tdLocalCache.data.hasOwnProperty(resource_id) && tdLocalCache.data[resource_id] !== null;
},
get: function (resource_id) {
return tdLocalCache.data[resource_id];
},
set: function (resource_id, cachedData) {
tdLocalCache.remove(resource_id);
tdLocalCache.data[resource_id] = cachedData;
}
};
})();
var td_viewport_interval_list=[{"limitBottom":767,"sidebarWidth":228},{"limitBottom":1018,"sidebarWidth":300},{"limitBottom":1140,"sidebarWidth":324}];
var td_animation_stack_effect="type0";
var tds_animation_stack=true;
var td_animation_stack_specific_selectors=".entry-thumb, img";
var td_animation_stack_general_selectors=".td-animation-stack img, .td-animation-stack .entry-thumb, .post img";
var td_ajax_url="https:\/\/www.craibas.al.gov.br\/portal\/wp-admin\/admin-ajax.php?td_theme_name=Newspaper&v=8.7";
var td_get_template_directory_uri="https:\/\/www.craibas.al.gov.br\/portal\/wp-content\/themes\/prefcampestre";
var tds_snap_menu="";
var tds_logo_on_sticky="";
var tds_header_style="8";
var td_please_wait="Aguarde...";
var td_email_user_pass_incorrect="Usu\u00e1rio ou senha incorreta!";
var td_email_user_incorrect="E-mail ou nome de usu\u00e1rio incorreto!";
var td_email_incorrect="E-mail incorreto!";
var tds_more_articles_on_post_enable="";
var tds_more_articles_on_post_time_to_wait="";
var tds_more_articles_on_post_pages_distance_from_top=0;
var tds_theme_color_site_wide="#038e3e";
var tds_smart_sidebar="enabled";
var tdThemeName="Newspaper";
var td_magnific_popup_translation_tPrev="Anterior (Seta a esquerda )";
var td_magnific_popup_translation_tNext="Avan\u00e7ar (tecla de seta para a direita)";
var td_magnific_popup_translation_tCounter="%curr% de %total%";
var td_magnific_popup_translation_ajax_tError="O conte\u00fado de %url% n\u00e3o pode ser carregado.";
var td_magnific_popup_translation_image_tError="A imagem #%curr% n\u00e3o pode ser carregada.";
var tdDateNamesI18n={"month_names":["janeiro","fevereiro","mar\u00e7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"],"month_names_short":["jan","fev","mar","abr","maio","jun","jul","ago","set","out","nov","dez"],"day_names":["domingo","segunda-feira","ter\u00e7a-feira","quarta-feira","quinta-feira","sexta-feira","s\u00e1bado"],"day_names_short":["dom","seg","ter","qua","qui","sex","s\u00e1b"]};
var td_ad_background_click_link="";
var td_ad_background_click_target="";
</script>]]>
|
780
| <![CDATA[<script type="text/javascript">function setREVStartSize(e){
//window.requestAnimationFrame(function() {
window.RSIW = window.RSIW===undefined ? window.innerWidth : window.RSIW;
window.RSIH = window.RSIH===undefined ? window.innerHeight : window.RSIH;
try {
var pw = document.getElementById(e.c).parentNode.offsetWidth,
newh;
pw = pw===0 || isNaN(pw) ? window.RSIW : pw;
e.tabw = e.tabw===undefined ? 0 : parseInt(e.tabw);
e.thumbw = e.thumbw===undefined ? 0 : parseInt(e.thumbw);
e.tabh = e.tabh===undefined ? 0 : parseInt(e.tabh);
e.thumbh = e.thumbh===undefined ? 0 : parseInt(e.thumbh);
e.tabhide = e.tabhide===undefined ? 0 : parseInt(e.tabhide);
e.thumbhide = e.thumbhide===undefined ? 0 : parseInt(e.thumbhide);
e.mh = e.mh===undefined || e.mh=="" || e.mh==="auto" ? 0 : parseInt(e.mh,0);
if(e.layout==="fullscreen" || e.l==="fullscreen")
newh = Math.max(e.mh,window.RSIH);
else{
e.gw = Array.isArray(e.gw) ? e.gw : [e.gw];
for (var i in e.rl) if (e.gw[i]===undefined || e.gw[i]===0) e.gw[i] = e.gw[i-1];
e.gh = e.el===undefined || e.el==="" || (Array.isArray(e.el) && e.el.length==0)? e.gh : e.el;
e.gh = Array.isArray(e.gh) ? e.gh : [e.gh];
for (var i in e.rl) if (e.gh[i]===undefined || e.gh[i]===0) e.gh[i] = e.gh[i-1];
var nl = new Array(e.rl.length),
ix = 0,
sl;
e.tabw = e.tabhide>=pw ? 0 : e.tabw;
e.thumbw = e.thumbhide>=pw ? 0 : e.thumbw;
e.tabh = e.tabhide>=pw ? 0 : e.tabh;
e.thumbh = e.thumbhide>=pw ? 0 : e.thumbh;
for (var i in e.rl) nl[i] = e.rl[i]<window.RSIW ? 0 : e.rl[i];
sl = nl[0];
for (var i in nl) if (sl>nl[i] && nl[i]>0) { sl = nl[i]; ix=i;}
var m = pw>(e.gw[ix]+e.tabw+e.thumbw) ? 1 : (pw-(e.tabw+e.thumbw)) / (e.gw[ix]);
newh = (e.gh[ix] * m) + (e.tabh + e.thumbh);
}
if(window.rs_init_css===undefined) window.rs_init_css = document.head.appendChild(document.createElement("style"));
document.getElementById(e.c).height = newh+"px";
window.rs_init_css.innerHTML += "#"+e.c+"_wrapper { height: "+newh+"px }";
} catch(e){
console.log("Failure at Presize of Slider:" + e)
}
//});
};</script>]]>
|
1118
| <![CDATA[<script type="text/javascript">
setREVStartSize({c: 'rev_slider_1_1',rl:[1240,1024,778,480],el:[268,268,260,260],gw:[1240,1024,778,480],gh:[268,268,260,260],type:'standard',justify:'',layout:'fullwidth',mh:"0"});
var revapi1,
tpj;
jQuery(function() {
tpj = jQuery;
revapi1 = tpj("#rev_slider_1_1")
if(revapi1==undefined || revapi1.revolution == undefined){
revslider_showDoubleJqueryError("rev_slider_1_1");
}else{
revapi1.revolution({
sliderLayout:"fullwidth",
duration:2000,
visibilityLevels:"1240,1024,778,480",
gridwidth:"1240,1024,778,480",
gridheight:"268,268,260,260",
spinner:"spinner0",
perspective:600,
perspectiveType:"local",
editorheight:"268,268,260,260",
responsiveLevels:"1240,1024,778,480",
disableProgressBar:"on",
navigation: {
onHoverStop:false
},
scrolleffect: {
set:true,
fade:true,
multiplicator:1.3,
multiplicator_layers:1.3,
disable_onmobile:true
},
viewPort: {
enable:true,
visible_area:"20%",
presize:true
},
fallbacks: {
allowHTML5AutoPlayOnAndroid:true
},
});
}
});
</script>]]>
|
1234
| <![CDATA[<script type="text/javascript">
var essapi_1_1;
function esginit_1_1() {
jQuery(document).ready(function() {
essapi_1_1 = jQuery("#esg-grid-1-1").tpessential({
gridID:1,
layout:"masonry",
forceFullWidth:"off",
lazyLoad:"off",
row:2,
apiName: "essapi_1_1",
loadMoreAjaxToken:"0e9ad9c142",
loadMoreAjaxUrl:"https://www.craibas.al.gov.br/portal/wp-admin/admin-ajax.php",
loadMoreAjaxAction:"Essential_Grid_Front_request_ajax",
ajaxContentTarget:"ess-grid-ajax-container-",
ajaxScrollToOffset:"0",
ajaxCloseButton:"off",
ajaxContentSliding:"on",
ajaxScrollToOnLoad:"on",
ajaxCallbackArgument:"off",
ajaxNavButton:"off",
ajaxCloseType:"type1",
ajaxCloseInner:"false",
ajaxCloseStyle:"light",
ajaxClosePosition:"tr",
space:20,
pageAnimation:"fade",
videoPlaybackInGrid: "on",
videoPlaybackOnHover: "off",
videoInlineMute: "on",
videoInlineControls: "off",
keepLayersInline: "off",
startAnimation: "none",
startAnimationSpeed: 1000,
startAnimationDelay: 100,
startAnimationType: "item",
animationType: "item",
paginationScrollToTop:"off",
paginationAutoplay:"off",
spinner:"spinner0",
minVisibleItems:3,
lightBoxMode:"single",
lightboxHash:"group",
lightboxPostMinWid:"75%",
lightboxPostMaxWid:"75%",
lightboxSpinner:"off",
lightBoxFeaturedImg:"off",
lightBoxPostTitle:"off",
lightBoxPostTitleTag:"h2",
lightboxMargin : "0|0|0|0",
lbContentPadding : "0|0|0|0",
lbContentOverflow : "auto",
animSpeed:1000,
delayBasic:1,
mainhoverdelay:1,
filterType:"single",
showDropFilter:"hover",
filterGroupClass:"esg-fgc-1",
filterNoMatch:"No Items for the Selected Filter",
filterDeepLink:"off",
hideMarkups: "on",
inViewport: true,
viewportBuffer: 20,
youtubeNoCookie:"false",
convertFilterMobile:false,
paginationSwipe: "off",
paginationDragVer: "on",
pageSwipeThrottle: 30,
googleFonts:['Open+Sans:300,400,600,700,800','Raleway:100,200,300,400,500,600,700,800,900','Droid+Serif:400,700'],
hideBlankItemsAt: "1",
responsiveEntries: [
{ width:1400,amount:4,mmheight:0},
{ width:1170,amount:4,mmheight:0},
{ width:1024,amount:4,mmheight:0},
{ width:960,amount:4,mmheight:0},
{ width:778,amount:4,mmheight:0},
{ width:640,amount:4,mmheight:0},
{ width:480,amount:2,mmheight:0}
]
});
var arrows = true,
lightboxOptions = {
margin : [0,0,0,0],
buttons : ["share","thumbs","close"],
infobar : true,
loop : true,
slideShow : {"autoStart": false, "speed": 3000},
videoAutoPlay : true,
animationEffect : "fade",
animationDuration : 500,
beforeShow: function(a, c) {
if(!arrows) {
jQuery("body").addClass("esgbox-hidearrows");
}
var i = 0,
multiple = false;
a = a.slides;
for(var b in a) {
i++;
if(i > 1) {
multiple = true;
break;
}
}
if(!multiple) jQuery("body").addClass("esgbox-single");
if(c.type === "image") jQuery(".esgbox-button--zoom").show();
},
beforeLoad: function(a, b) {
jQuery("body").removeClass("esg-four-by-three");
if(b.opts.$orig.data("ratio") === "4:3") jQuery("body").addClass("esg-four-by-three");
},
afterLoad: function() {jQuery(window).trigger("resize.esglb");},
afterClose : function() {jQuery("body").removeClass("esgbox-hidearrows esgbox-single");},
transitionEffect : "fade",
transitionDuration : 500,
hash : "group",
arrows : true,
wheel : false,
};
jQuery("#esg-grid-1-1").data("lightboxsettings", lightboxOptions);
});
} // End of EsgInitScript
var once_1_1 = false;
if (document.readyState === "loading") document.addEventListener('readystatechange',function() { if((document.readyState === "interactive" || document.readyState === "complete") && !once_1_1 ) { once_1_1 = true; esginit_1_1();}}); else {once_1_1 = true; esginit_1_1();}
</script>]]>
|
1433
| <![CDATA[<script type="text/javascript">
var essapi_2_2;
function esginit_2_2() {
jQuery(document).ready(function() {
essapi_2_2 = jQuery("#esg-grid-2-2").tpessential({
gridID:2,
layout:"masonry",
forceFullWidth:"off",
lazyLoad:"off",
row:2,
apiName: "essapi_2_2",
loadMoreAjaxToken:"0e9ad9c142",
loadMoreAjaxUrl:"https://www.craibas.al.gov.br/portal/wp-admin/admin-ajax.php",
loadMoreAjaxAction:"Essential_Grid_Front_request_ajax",
ajaxContentTarget:"ess-grid-ajax-container-",
ajaxScrollToOffset:"0",
ajaxCloseButton:"off",
ajaxContentSliding:"on",
ajaxScrollToOnLoad:"on",
ajaxCallbackArgument:"off",
ajaxNavButton:"off",
ajaxCloseType:"type1",
ajaxCloseInner:"false",
ajaxCloseStyle:"light",
ajaxClosePosition:"tr",
space:20,
pageAnimation:"fade",
videoPlaybackInGrid: "on",
videoPlaybackOnHover: "off",
videoInlineMute: "on",
videoInlineControls: "off",
keepLayersInline: "off",
startAnimation: "none",
startAnimationSpeed: 1000,
startAnimationDelay: 100,
startAnimationType: "item",
animationType: "item",
paginationScrollToTop:"off",
paginationAutoplay:"off",
spinner:"spinner0",
minVisibleItems:3,
lightBoxMode:"single",
lightboxHash:"group",
lightboxPostMinWid:"75%",
lightboxPostMaxWid:"75%",
lightboxSpinner:"off",
lightBoxFeaturedImg:"off",
lightBoxPostTitle:"off",
lightBoxPostTitleTag:"h2",
lightboxMargin : "0|0|0|0",
lbContentPadding : "0|0|0|0",
lbContentOverflow : "auto",
animSpeed:1000,
delayBasic:1,
mainhoverdelay:1,
filterType:"single",
showDropFilter:"hover",
filterGroupClass:"esg-fgc-2",
filterNoMatch:"No Items for the Selected Filter",
filterDeepLink:"off",
hideMarkups: "on",
inViewport: true,
viewportBuffer: 20,
youtubeNoCookie:"false",
convertFilterMobile:false,
paginationSwipe: "off",
paginationDragVer: "on",
pageSwipeThrottle: 30,
googleFonts:['Open+Sans:300,400,600,700,800','Raleway:100,200,300,400,500,600,700,800,900','Droid+Serif:400,700'],
hideBlankItemsAt: "1",
responsiveEntries: [
{ width:1400,amount:4,mmheight:0},
{ width:1170,amount:4,mmheight:0},
{ width:1024,amount:4,mmheight:0},
{ width:960,amount:4,mmheight:0},
{ width:778,amount:4,mmheight:0},
{ width:640,amount:4,mmheight:0},
{ width:480,amount:2,mmheight:0}
]
});
var arrows = true,
lightboxOptions = {
margin : [0,0,0,0],
buttons : ["share","thumbs","close"],
infobar : true,
loop : true,
slideShow : {"autoStart": false, "speed": 3000},
videoAutoPlay : true,
animationEffect : "fade",
animationDuration : 500,
beforeShow: function(a, c) {
if(!arrows) {
jQuery("body").addClass("esgbox-hidearrows");
}
var i = 0,
multiple = false;
a = a.slides;
for(var b in a) {
i++;
if(i > 1) {
multiple = true;
break;
}
}
if(!multiple) jQuery("body").addClass("esgbox-single");
if(c.type === "image") jQuery(".esgbox-button--zoom").show();
},
beforeLoad: function(a, b) {
jQuery("body").removeClass("esg-four-by-three");
if(b.opts.$orig.data("ratio") === "4:3") jQuery("body").addClass("esg-four-by-three");
},
afterLoad: function() {jQuery(window).trigger("resize.esglb");},
afterClose : function() {jQuery("body").removeClass("esgbox-hidearrows esgbox-single");},
transitionEffect : "fade",
transitionDuration : 500,
hash : "group",
arrows : true,
wheel : false,
};
jQuery("#esg-grid-2-2").data("lightboxsettings", lightboxOptions);
});
} // End of EsgInitScript
var once_2_2 = false;
if (document.readyState === "loading") document.addEventListener('readystatechange',function() { if((document.readyState === "interactive" || document.readyState === "complete") && !once_2_2 ) { once_2_2 = true; esginit_2_2();}}); else {once_2_2 = true; esginit_2_2();}
</script>]]>
|
1632
| <![CDATA[<script type="text/javascript">
var essapi_3_3;
function esginit_3_3() {
jQuery(document).ready(function() {
essapi_3_3 = jQuery("#esg-grid-3-3").tpessential({
gridID:3,
layout:"masonry",
forceFullWidth:"off",
lazyLoad:"off",
row:2,
apiName: "essapi_3_3",
loadMoreAjaxToken:"0e9ad9c142",
loadMoreAjaxUrl:"https://www.craibas.al.gov.br/portal/wp-admin/admin-ajax.php",
loadMoreAjaxAction:"Essential_Grid_Front_request_ajax",
ajaxContentTarget:"ess-grid-ajax-container-",
ajaxScrollToOffset:"0",
ajaxCloseButton:"off",
ajaxContentSliding:"on",
ajaxScrollToOnLoad:"on",
ajaxCallbackArgument:"off",
ajaxNavButton:"off",
ajaxCloseType:"type1",
ajaxCloseInner:"false",
ajaxCloseStyle:"light",
ajaxClosePosition:"tr",
space:20,
pageAnimation:"fade",
videoPlaybackInGrid: "on",
videoPlaybackOnHover: "off",
videoInlineMute: "on",
videoInlineControls: "off",
keepLayersInline: "off",
startAnimation: "none",
startAnimationSpeed: 1000,
startAnimationDelay: 100,
startAnimationType: "item",
animationType: "item",
paginationScrollToTop:"off",
paginationAutoplay:"off",
spinner:"spinner0",
minVisibleItems:3,
lightBoxMode:"single",
lightboxHash:"group",
lightboxPostMinWid:"75%",
lightboxPostMaxWid:"75%",
lightboxSpinner:"off",
lightBoxFeaturedImg:"off",
lightBoxPostTitle:"off",
lightBoxPostTitleTag:"h2",
lightboxMargin : "0|0|0|0",
lbContentPadding : "0|0|0|0",
lbContentOverflow : "auto",
animSpeed:1000,
delayBasic:1,
mainhoverdelay:1,
filterType:"single",
showDropFilter:"hover",
filterGroupClass:"esg-fgc-3",
filterNoMatch:"No Items for the Selected Filter",
filterDeepLink:"off",
hideMarkups: "on",
inViewport: true,
viewportBuffer: 20,
youtubeNoCookie:"false",
convertFilterMobile:false,
paginationSwipe: "off",
paginationDragVer: "on",
pageSwipeThrottle: 30,
googleFonts:['Open+Sans:300,400,600,700,800','Raleway:100,200,300,400,500,600,700,800,900','Droid+Serif:400,700'],
hideBlankItemsAt: "1",
responsiveEntries: [
{ width:1400,amount:4,mmheight:0},
{ width:1170,amount:4,mmheight:0},
{ width:1024,amount:4,mmheight:0},
{ width:960,amount:4,mmheight:0},
{ width:778,amount:4,mmheight:0},
{ width:640,amount:4,mmheight:0},
{ width:480,amount:2,mmheight:0}
]
});
var arrows = true,
lightboxOptions = {
margin : [0,0,0,0],
buttons : ["share","thumbs","close"],
infobar : true,
loop : true,
slideShow : {"autoStart": false, "speed": 3000},
videoAutoPlay : true,
animationEffect : "fade",
animationDuration : 500,
beforeShow: function(a, c) {
if(!arrows) {
jQuery("body").addClass("esgbox-hidearrows");
}
var i = 0,
multiple = false;
a = a.slides;
for(var b in a) {
i++;
if(i > 1) {
multiple = true;
break;
}
}
if(!multiple) jQuery("body").addClass("esgbox-single");
if(c.type === "image") jQuery(".esgbox-button--zoom").show();
},
beforeLoad: function(a, b) {
jQuery("body").removeClass("esg-four-by-three");
if(b.opts.$orig.data("ratio") === "4:3") jQuery("body").addClass("esg-four-by-three");
},
afterLoad: function() {jQuery(window).trigger("resize.esglb");},
afterClose : function() {jQuery("body").removeClass("esgbox-hidearrows esgbox-single");},
transitionEffect : "fade",
transitionDuration : 500,
hash : "group",
arrows : true,
wheel : false,
};
jQuery("#esg-grid-3-3").data("lightboxsettings", lightboxOptions);
});
} // End of EsgInitScript
var once_3_3 = false;
if (document.readyState === "loading") document.addEventListener('readystatechange',function() { if((document.readyState === "interactive" || document.readyState === "complete") && !once_3_3 ) { once_3_3 = true; esginit_3_3();}}); else {once_3_3 = true; esginit_3_3();}
</script>]]>
|
1831
| <![CDATA[<script type="text/javascript">
var essapi_4_4;
function esginit_4_4() {
jQuery(document).ready(function() {
essapi_4_4 = jQuery("#esg-grid-4-4").tpessential({
gridID:4,
layout:"masonry",
forceFullWidth:"off",
lazyLoad:"off",
row:1,
apiName: "essapi_4_4",
loadMoreAjaxToken:"0e9ad9c142",
loadMoreAjaxUrl:"https://www.craibas.al.gov.br/portal/wp-admin/admin-ajax.php",
loadMoreAjaxAction:"Essential_Grid_Front_request_ajax",
ajaxContentTarget:"ess-grid-ajax-container-",
ajaxScrollToOffset:"0",
ajaxCloseButton:"off",
ajaxContentSliding:"on",
ajaxScrollToOnLoad:"on",
ajaxCallbackArgument:"off",
ajaxNavButton:"off",
ajaxCloseType:"type1",
ajaxCloseInner:"false",
ajaxCloseStyle:"light",
ajaxClosePosition:"tr",
space:20,
pageAnimation:"fade",
videoPlaybackInGrid: "on",
videoPlaybackOnHover: "off",
videoInlineMute: "on",
videoInlineControls: "off",
keepLayersInline: "off",
startAnimation: "none",
startAnimationSpeed: 1000,
startAnimationDelay: 100,
startAnimationType: "item",
animationType: "item",
paginationScrollToTop:"off",
paginationAutoplay:"off",
spinner:"spinner0",
minVisibleItems:3,
lightBoxMode:"single",
lightboxHash:"group",
lightboxPostMinWid:"75%",
lightboxPostMaxWid:"75%",
lightboxSpinner:"off",
lightBoxFeaturedImg:"off",
lightBoxPostTitle:"off",
lightBoxPostTitleTag:"h2",
lightboxMargin : "0|0|0|0",
lbContentPadding : "0|0|0|0",
lbContentOverflow : "auto",
animSpeed:1000,
delayBasic:1,
mainhoverdelay:1,
filterType:"single",
showDropFilter:"hover",
filterGroupClass:"esg-fgc-4",
filterNoMatch:"No Items for the Selected Filter",
filterDeepLink:"off",
hideMarkups: "on",
inViewport: true,
viewportBuffer: 20,
youtubeNoCookie:"false",
convertFilterMobile:false,
paginationSwipe: "off",
paginationDragVer: "on",
pageSwipeThrottle: 30,
googleFonts:['Open+Sans:300,400,600,700,800','Raleway:100,200,300,400,500,600,700,800,900','Droid+Serif:400,700'],
hideBlankItemsAt: "1",
responsiveEntries: [
{ width:1400,amount:1,mmheight:0},
{ width:1170,amount:1,mmheight:0},
{ width:1024,amount:1,mmheight:0},
{ width:960,amount:1,mmheight:0},
{ width:778,amount:1,mmheight:0},
{ width:640,amount:1,mmheight:0},
{ width:480,amount:1,mmheight:0}
]
});
var arrows = true,
lightboxOptions = {
margin : [0,0,0,0],
buttons : ["share","thumbs","close"],
infobar : true,
loop : true,
slideShow : {"autoStart": false, "speed": 3000},
videoAutoPlay : true,
animationEffect : "fade",
animationDuration : 500,
beforeShow: function(a, c) {
if(!arrows) {
jQuery("body").addClass("esgbox-hidearrows");
}
var i = 0,
multiple = false;
a = a.slides;
for(var b in a) {
i++;
if(i > 1) {
multiple = true;
break;
}
}
if(!multiple) jQuery("body").addClass("esgbox-single");
if(c.type === "image") jQuery(".esgbox-button--zoom").show();
},
beforeLoad: function(a, b) {
jQuery("body").removeClass("esg-four-by-three");
if(b.opts.$orig.data("ratio") === "4:3") jQuery("body").addClass("esg-four-by-three");
},
afterLoad: function() {jQuery(window).trigger("resize.esglb");},
afterClose : function() {jQuery("body").removeClass("esgbox-hidearrows esgbox-single");},
transitionEffect : "fade",
transitionDuration : 500,
hash : "group",
arrows : true,
wheel : false,
};
jQuery("#esg-grid-4-4").data("lightboxsettings", lightboxOptions);
});
} // End of EsgInitScript
var once_4_4 = false;
if (document.readyState === "loading") document.addEventListener('readystatechange',function() { if((document.readyState === "interactive" || document.readyState === "complete") && !once_4_4 ) { once_4_4 = true; esginit_4_4();}}); else {once_4_4 = true; esginit_4_4();}
</script>]]>
|
2009
| <![CDATA[<script type="text/javascript">
var ajaxRevslider;
jQuery(document).ready(function() {
// CUSTOM AJAX CONTENT LOADING FUNCTION
ajaxRevslider = function(obj) {
// obj.type : Post Type
// obj.id : ID of Content to Load
// obj.aspectratio : The Aspect Ratio of the Container / Media
// obj.selector : The Container Selector where the Content of Ajax will be injected. It is done via the Essential Grid on Return of Content
var content = '';
var data = {
action: 'revslider_ajax_call_front',
client_action: 'get_slider_html',
token: 'c9553e6d78',
type: obj.type,
id: obj.id,
aspectratio: obj.aspectratio
};
// SYNC AJAX REQUEST
jQuery.ajax({
type: 'post',
url: 'https://www.craibas.al.gov.br/portal/wp-admin/admin-ajax.php',
dataType: 'json',
data: data,
async: false,
success: function(ret, textStatus, XMLHttpRequest) {
if(ret.success == true)
content = ret.data;
},
error: function(e) {
console.log(e);
}
});
// FIRST RETURN THE CONTENT WHEN IT IS LOADED !!
return content;
};
// CUSTOM AJAX FUNCTION TO REMOVE THE SLIDER
var ajaxRemoveRevslider = function(obj) {
return jQuery(obj.selector + ' .rev_slider').revkill();
};
// EXTEND THE AJAX CONTENT LOADING TYPES WITH TYPE AND FUNCTION
if (jQuery.fn.tpessential !== undefined)
if(typeof(jQuery.fn.tpessential.defaults) !== 'undefined')
jQuery.fn.tpessential.defaults.ajaxTypes.push({type: 'revslider', func: ajaxRevslider, killfunc: ajaxRemoveRevslider, openAnimationSpeed: 0.3});
// type: Name of the Post to load via Ajax into the Essential Grid Ajax Container
// func: the Function Name which is Called once the Item with the Post Type has been clicked
// killfunc: function to kill in case the Ajax Window going to be removed (before Remove function !
// openAnimationSpeed: how quick the Ajax Content window should be animated (default is 0.3)
});
</script>]]>
|
2085
| <![CDATA[<script type="text/javascript">
if(typeof revslider_showDoubleJqueryError === "undefined") {
function revslider_showDoubleJqueryError(sliderID) {
var err = "<div class='rs_error_message_box'>";
err += "<div class='rs_error_message_oops'>Oops...</div>";
err += "<div class='rs_error_message_content'>";
err += "You have some jquery.js library include that comes after the Slider Revolution files js inclusion.<br>";
err += "To fix this, you can:<br> ; ; ; 1. Set 'Module General Options' -> 'Advanced' -> 'jQuery & OutPut Filters' -> 'Put JS to Body' to on";
err += "<br> ; ; ; 2. Find the double jQuery.js inclusion and remove it";
err += "</div>";
err += "</div>";
var slider = document.getElementById(sliderID); slider.innerHTML = err; slider.style.display = "block";
}
}
</script>]]>
|
2103
| <![CDATA[<script type='text/javascript' id='pojo-a11y-js-extra'>
/* <![CDATA[ */
var PojoA11yOptions = {"focusable":"","remove_link_target":"","add_role_links":"","enable_save":"","save_expiration":""};
/* ]]> */
</script>]]>
|
2110
| <![CDATA[<script type='text/javascript' id='essential-grid-essential-grid-script-js-extra'>
/* <![CDATA[ */
var eg_ajax_var = {"url":"https:\/\/www.craibas.al.gov.br\/portal\/wp-admin\/admin-ajax.php","nonce":"b601e006a9"};
var eg_ajax_var = {"url":"https:\/\/www.craibas.al.gov.br\/portal\/wp-admin\/admin-ajax.php","nonce":"b601e006a9"};
var eg_ajax_var = {"url":"https:\/\/www.craibas.al.gov.br\/portal\/wp-admin\/admin-ajax.php","nonce":"b601e006a9"};
var eg_ajax_var = {"url":"https:\/\/www.craibas.al.gov.br\/portal\/wp-admin\/admin-ajax.php","nonce":"b601e006a9"};
/* ]]> */
</script>]]>
|
2187
| <![CDATA[<script>
(function(){
var html_jquery_obj = jQuery('html');
if (html_jquery_obj.length && (html_jquery_obj.is('.ie8') || html_jquery_obj.is('.ie9'))) {
var path = 'https://www.craibas.al.gov.br/portal/wp-content/themes/prefcampestre/style.css';
jQuery.get(path, function(data) {
var str_split_separator = '#td_css_split_separator';
var arr_splits = data.split(str_split_separator);
var arr_length = arr_splits.length;
if (arr_length > 1) {
var dir_path = 'https://www.craibas.al.gov.br/portal/wp-content/themes/prefcampestre';
var splited_css = '';
for (var i = 0; i < arr_length; i++) {
if (i > 0) {
arr_splits[i] = str_split_separator + ' ' + arr_splits[i];
}
//jQuery('head').append('<style>' + arr_splits[i] + '</style>');
var formated_str = arr_splits[i].replace(/\surl\(\'(?!data\:)/gi, function regex_function(str) {
return ' url(\'' + dir_path + '/' + str.replace(/url\(\'/gi, '').replace(/^\s+|\s+$/gm,'');
});
splited_css += "<style>" + formated_str + "</style>";
}
var td_theme_css = jQuery('link#td-theme-css');
if (td_theme_css.length) {
td_theme_css.after(splited_css);
}
}
});
}
})();
</script>]]>
|
2244
| <![CDATA[<script>
new window.VLibras.Widget('https://vlibras.gov.br/app');
</script>]]>
|