598
| <![CDATA[<script type="text/javascript">
var cs_module_append_url = "";
jQuery(document).ready(function() {
ExtStore.LoginPopup.offset_top = 50;
jQuery('a[href="#login"], a[href="#logout"]').click(function(event) {
ExtStore.LoginPopup.open();
event.stopPropagation();
event.preventDefault();
});
jQuery('#lp-overlay, .lp-close').click(function() {
ExtStore.LoginPopup.close();
});
});
jQuery(window).on('load', function() {
new JCaption('img.caption');
});
window.soundManager.url = 'https://www.ipamcantagalo.rj.gov.br/plugins/system/screenreader/screenreader/libraries/tts/soundmanager/swf/';
window.soundManager.debugMode = false;
window.soundManager.defaultOptions.volume = 80;
var screenReaderConfigOptions = { baseURI: 'https://www.ipamcantagalo.rj.gov.br/',
token: '709d75e450c37cc15cb6628d9762e8d4',
langCode: 'pt',
chunkLength: 100,
screenReaderVolume: '80',
position: 'bottomleft',
scrolling: 'fixed',
targetAppendto: 'html',
targetAppendMode: 'bottom',
preload: 0,
autoBackgroundColor: 1,
readPage: 1,
readChildNodes: 1,
ieHighContrast: 1,
ieHighContrastAdvanced: 1,
gtranslateIntegration: 0,
selectMainpageareaText: 0,
excludeScripts: 1,
readImages: 0,
readImagesAttribute: 'alt',
readImagesOrdering: 'before',
mainpageSelector: '*[name*=main], *[class*=main], *[id*=main], *[id*=container], *[class*=container]',
showlabel: 1,
labeltext: 'Leitor de Tela',
screenreaderIcon: 'audio',
screenreader: 1,
highcontrast: 1,
highcontrastAlternate: 1,
colorHue: 180,
colorBrightness: 6,
dyslexicFont: 1,
fontsize: 1,
fontsizeDefault: 160,
fontsizeMin: 50,
fontsizeMax: 200,
fontsizeSelector: '',
fontSizeOverride: 1,
fontSizeHeadersIncrement: 20,
toolbarBgcolor: '#eeeeee',
template: 'elegant.css',
accesskey_play: 'P',
accesskey_pause: 'E',
accesskey_stop: 'S',
accesskey_increase: 'O',
accesskey_decrease: 'U',
accesskey_reset: 'R',
accesskey_highcontrast: 'H',
accesskey_highcontrast2: 'J',
accesskey_highcontrast3: 'K',
accesskey_dyslexic: 'D',
accesskey_skiptocontents: 'C',
accesskey_minimized: 'L',
volume_accesskeys: 1,
readerEngine: 'proxy',
useMobileReaderEngine: 0,
mobileReaderEngine: 'proxy',
hideOnMobile: 1,
useMinimizedToolbar: 0,
showSkipToContents: 0,
skipToContentsSelector: '',
removeLinksTarget: 0
};
var sp_preloader = '0';
var sp_gotop = '1';
var sp_offanimation = 'default';
(function(){
var cb = function() {
var add = function(css, id) {
if(document.getElementById(id)) return;
var l = document.createElement('link'); l.rel = 'stylesheet'; l.id = id; l.href = css;
var h = document.getElementsByTagName('head')[0]; h.appendChild(l);
}
add('/media/djextensions/css/animate.min.css', 'animate_min_css');
add('/media/djextensions/css/animate.ext.css', 'animate_ext_css');
};
var raf = requestAnimationFrame || mozRequestAnimationFrame || webkitRequestAnimationFrame || msRequestAnimationFrame;
if (raf) raf(cb);
else window.addEventListener('load', cb);
})();
</script>]]>
|
748
| <![CDATA[<script type="text/javascript">N2R('documentReady',function($){N2R(["documentReady","smartslider-frontend","nextend-gsap","smartslider-simple-type-frontend"],function(){new N2Classes.SmartSliderSimple('#n2-ss-1',{"admin":false,"callbacks":"","background.video.mobile":1,"alias":{"id":0,"smoothScroll":0,"slideSwitch":0,"scroll":1},"align":"normal","isDelayed":0,"load":{"fade":1,"scroll":0},"playWhenVisible":1,"playWhenVisibleAt":0.5,"responsive":{"hideOn":{"desktopLandscape":false,"desktopPortrait":false,"tabletLandscape":false,"tabletPortrait":false,"mobileLandscape":false,"mobilePortrait":false},"onResizeEnabled":true,"type":"auto","downscale":1,"upscale":1,"minimumHeight":0,"maximumSlideWidth":{"desktopLandscape":3000,"desktopPortrait":3000,"tabletLandscape":3000,"tabletPortrait":3000,"mobileLandscape":3000,"mobilePortrait":3000},"forceFull":0,"forceFullOverflowX":"body","forceFullHorizontalSelector":"","constrainRatio":1,"sliderHeightBasedOn":"real","decreaseSliderHeight":0,"focusUser":1,"focusEdge":"auto","breakpoints":[{"device":"tabletPortrait","type":"max-screen-width","portraitWidth":1199,"landscapeWidth":1199},{"device":"mobilePortrait","type":"max-screen-width","portraitWidth":700,"landscapeWidth":900}],"enabledDevices":{"desktopLandscape":0,"desktopPortrait":1,"tabletLandscape":0,"tabletPortrait":1,"mobileLandscape":0,"mobilePortrait":1},"sizes":{"desktopPortrait":{"width":1920,"height":450,"max":3000,"min":1200},"tabletPortrait":{"width":701,"height":164,"max":1199,"min":701},"mobilePortrait":{"width":320,"height":75,"max":900,"min":320}},"normalizedDeviceModes":{"unknown":"desktopPortrait","desktopPortrait":"desktopPortrait","desktopLandscape":"desktopPortrait","tabletLandscape":"desktopPortrait","tabletPortrait":"tabletPortrait","mobileLandscape":"tabletPortrait","mobilePortrait":"mobilePortrait"},"overflowHiddenPage":0,"focus":{"offsetTop":"","offsetBottom":""}},"controls":{"mousewheel":0,"touch":"horizontal","keyboard":1,"blockCarouselInteraction":1},"lazyLoad":0,"lazyLoadNeighbor":0,"blockrightclick":0,"maintainSession":0,"autoplay":{"enabled":1,"start":1,"duration":8000,"autoplayLoop":1,"allowReStart":0,"pause":{"click":1,"mouse":"0","mediaStarted":1},"resume":{"click":0,"mouse":0,"mediaEnded":1,"slidechanged":0},"interval":1,"intervalModifier":"loop","intervalSlide":"current"},"perspective":1500,"layerMode":{"playOnce":0,"playFirstLayer":1,"mode":"skippable","inAnimation":"mainInEnd"},"bgAnimationsColor":"RGBA(51,51,51,1)","bgAnimations":0,"mainanimation":{"type":"horizontal","duration":800,"delay":0,"ease":"easeOutQuad","parallax":0,"shiftedBackgroundAnimation":0},"carousel":1,"dynamicHeight":0,"initCallbacks":function($){N2D("SmartSliderWidgetBulletTransition","SmartSliderWidget",function(l,s){function t(t,e){this.key="bullet",this.parameters=e,N2Classes.SmartSliderWidget.prototype.constructor.call(this,t)}return((t.prototype=Object.create(N2Classes.SmartSliderWidget.prototype)).constructor=t).prototype.onStart=function(){switch(this.hasDots=!0,this.axis="horizontal",this.offset=0,this.$bar=this.slider.sliderElement.find(".nextend-bullet-bar"),this.$widget=this.$bar.parent(),this.event="universalclick","mouseenter"===this.parameters.action&&(this.event="universalenter"),this.parameters.area){case 5:case 8:this.axis="vertical"}this.slider.stages.done("BeforeShow",this.onBeforeShow.bind(this))},t.prototype.onBeforeShow=function(){this.onVisibleSlidesChanged(),this.hasDots&&this.slider.currentSlide.$dot.addClass("n2-active").removeAttr("tabindex").attr("aria-current","true"),this.slider.sliderElement.on({visibleSlidesChanged:this.onVisibleSlidesChanged.bind(this),SlideWillChange:this.onSlideSwitch.bind(this)})},t.prototype.onSlideSwitch=function(t,e){this.hasDots&&(this.$dots.removeClass("n2-active").attr("tabindex","0").removeAttr("aria-current"),e.$dot.addClass("n2-active").removeAttr("tabindex").attr("aria-current","true"))},t.prototype.showThumbnail=function(t,e){var i=this.getThumbnail(t);NextendTween.to(i,.3,{opacity:1}),t.$dot.one("universalleave.thumbnailleave",this.hideThumbnail.bind(this,i))},t.prototype.hideThumbnail=function(t,e){e.stopPropagation(),NextendTween.to(t,.3,{opacity:0,onComplete:function(){t.remove()}})},t.prototype.getThumbnail=function(t){var e=t.$dot,i=this.slider.sliderElement.offset(),s=e.offset(),o=e.outerWidth(),a=e.outerHeight(),r=l("<div></div>").append(l("<div></div>").css({width:this.parameters.thumbnailWidth,height:this.parameters.thumbnailHeight,backgroundImage:'url("'+t.getThumbnail()+'")'}).addClass("n2-ss-bullet-thumbnail")).addClass(this.parameters.thumbnailStyle).addClass("n2-ss-bullet-thumbnail-container").appendTo(this.slider.sliderElement);switch(this.parameters.thumbnailPosition){case"right":r.css({left:s.left-i.left+o,top:s.top-i.top+a/2-r.outerHeight(!0)/2});break;case"left":r.css({left:s.left-i.left-r.outerWidth(!0),top:s.top-i.top+a/2-r.outerHeight(!0)/2});break;case"top":r.css({left:s.left-i.left+o/2-r.outerWidth(!0)/2,top:s.top-i.top-r.outerHeight(!0)});break;case"bottom":r.css({left:s.left-i.left+o/2-r.outerWidth(!0)/2,top:s.top-i.top+a})}return e.data("thumbnail",r),r},t.prototype.onVisibleSlidesChanged=function(){if(this.$dotsOuter!==s&&(this.$dotsOuter.remove(),delete this.$dotsOuter),this.$bar.html(""),this.slider.visibleSlides.length<=1)this.hasDots=!1;else{this.hasDots=!0,this.$dots=l(),this.$dotsOuter=l();for(var t=0;t<this.slider.visibleSlides.length;t++){var e=this.slider.visibleSlides[t],i=l('<div class="n2-ow n2-bullet '+this.parameters.dotClasses+'" tabindex="0"></div>').attr("role","button").attr("aria-label",e.getTitle()).appendTo(this.$bar);switch(this.$dotsOuter=this.$dotsOuter.add(i.wrap(l('<div class="n2-ow"></div>').on(this.event,this.onDotClick.bind(this,e))).on("n2Activate",this.onDotClick.bind(this,e))),e.$dot=i,this.$dots=this.$dots.add(i),this.parameters.mode){case"numeric":i.html(t+1);break;case"title":i.html(e.getTitle())}1===this.parameters.thumbnail&&e.getThumbnail()&&i.on({universalenter:this.showThumbnail.bind(this,e)},{leaveOnSecond:!0})}this.onSlideSwitch(null,this.slider.currentSlide)}},t.prototype.onDotClick=function(t,e){this.slider.directionalChangeTo(t.index)},t.prototype.calculateDimensions=function(t){this.isVisible()?(this.$widget.addClass("n2-ss-control-bullet--calculate-size"),t[this.key+"width"]=this.$bar.outerWidth(),t[this.key+"height"]=this.$bar.outerHeight(),this.$widget.removeClass("n2-ss-control-bullet--calculate-size")):(t[this.key+"width"]=0,t[this.key+"height"]=0)},t});new N2Classes.SmartSliderWidgetBulletTransition(this,{"area":10,"dotClasses":"n2-style-4ef2b9ef3ac95757a797a679951a67a3-dot ","mode":"","action":"click"})}})})});</script>]]>
|