IA: efeitos no setor contábil
)<[^<]*)*<\/script>/gi,cr=/([?&])_=[^&]*/,cs=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,ct=p.fn.load,cu={},cv={},cw=[“*/”]+[“*”];try{ci=f.href}catch(cx){ci=e.createElement(“a”),ci.href=””,ci=ci.href}cj=cs.exec(ci.toLowerCase())||[],p.fn.load=function(a,c,d){if(typeof a!=”string”&&ct)return ct.apply(this,arguments);if(!this.length)return this;var e,f,g,h=this,i=a.indexOf(” “);return i>=0&&(e=a.slice(i,a.length),a=a.slice(0,i)),p.isFunction(c)?(d=c,c=b):typeof c==”object”&&(f=”POST”),p.ajax({url:a,type:f,dataType:”html”,data:c,complete:function(a,b){d&&h.each(d,g||[a.responseText,b,a])}}).done(function(a){g=arguments,h.html(e?p(“
var n=function(n,t,o){function i(e){return f.body?e():void setTimeout(function(){i(e)})}var d,r,a,l,f=e.document,s=f.createElement(“link”),u=o||”all”
return t?d=t:(r=(f.body||f.getElementsByTagName(“head”)[0]).childNodes,d=r[r.length-1]),a=f.styleSheets,s.rel=”stylesheet”,s.href=n,s.media=”only x”,i(function(){d.parentNode.insertBefore(s,t?d:d.nextSibling)}),l=function(e){for(var n=s.href,t=a.length;t–;)if(a[t].href===n)return e()
setTimeout(function(){l(e)})},s.addEventListener&&s.addEventListener(“load”,function(){this.media=u}),s.onloadcssdefined=l,l(function(){s.media!==u&&(s.media=u)}),s}
“undefined”!=typeof exports?exports.loadCSS=n:e.loadCSS=n}(“undefined”!=typeof global?global:this)
jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:”easeOutQuad”,swing:function(a,b,c,d,e){return jQuery.easing[jQuery.easing.def](a,b,c,d,e)},easeInQuad:function(a,b,c,d,e){return d*(b/=e)*b+c},easeOutQuad:function(a,b,c,d,e){return-d*(b/=e)*(b-2)+c},easeInOutQuad:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b+c:-d/2*(--b*(b-2)-1)+c},easeInCubic:function(a,b,c,d,e){return d*(b/=e)*b*b+c},easeOutCubic:function(a,b,c,d,e){return d*((b=b/e-1)*b*b+1)+c},easeInOutCubic:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b*b+c:d/2*((b-=2)*b*b+2)+c},easeInQuart:function(a,b,c,d,e){return d*(b/=e)*b*b*b+c},easeOutQuart:function(a,b,c,d,e){return-d*((b=b/e-1)*b*b*b-1)+c},easeInOutQuart:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b*b*b+c:-d/2*((b-=2)*b*b*b-2)+c},easeInQuint:function(a,b,c,d,e){return d*(b/=e)*b*b*b*b+c},easeOutQuint:function(a,b,c,d,e){return d*((b=b/e-1)*b*b*b*b+1)+c},easeInOutQuint:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b*b*b*b+c:d/2*((b-=2)*b*b*b*b+2)+c},easeInSine:function(a,b,c,d,e){return-d*Math.cos(b/e*(Math.PI/2))+d+c},easeOutSine:function(a,b,c,d,e){return d*Math.sin(b/e*(Math.PI/2))+c},easeInOutSine:function(a,b,c,d,e){return-d/2*(Math.cos(Math.PI*b/e)-1)+c},easeInExpo:function(a,b,c,d,e){return 0==b?c:d*Math.pow(2,10*(b/e-1))+c},easeOutExpo:function(a,b,c,d,e){return b==e?c+d:d*(-Math.pow(2,-10*b/e)+1)+c},easeInOutExpo:function(a,b,c,d,e){return 0==b?c:b==e?c+d:(b/=e/2)<1?d/2*Math.pow(2,10*(b-1))+c:d/2*(-Math.pow(2,-10*--b)+2)+c},easeInCirc:function(a,b,c,d,e){return-d*(Math.sqrt(1-(b/=e)*b)-1)+c},easeOutCirc:function(a,b,c,d,e){return d*Math.sqrt(1-(b=b/e-1)*b)+c},easeInOutCirc:function(a,b,c,d,e){return(b/=e/2)<1?-d/2*(Math.sqrt(1-b*b)-1)+c:d/2*(Math.sqrt(1-(b-=2)*b)+1)+c},easeInElastic:function(a,b,c,d,e){var f=1.70158,g=0,h=d;if(0==b)return c;if(1==(b/=e))return c+d;if(g||(g=.3*e),h
“,b.$dots=a(d).appendTo(b.options.appendDots),b.$dots.find(“li”).first().addClass(“slick-active”).attr(“aria-hidden”,”false”)}},b.prototype.buildOut=function(){var b=this;b.$slides=b.$slider.children(b.options.slide+”:not(.slick-cloned)”).addClass(“slick-slide”),b.slideCount=b.$slides.length,b.$slides.each(function(b,c){a(c).attr(“data-slick-index”,b).data(“originalStyling”,a(c).attr(“style”)||””)}),b.$slider.addClass(“slick-slider”),b.$slideTrack=0===b.slideCount?a(‘
‘).appendTo(b.$slider):b.$slides.wrapAll(‘if(_globalMateriaId==0)_globalMateriaId=$(“.noticiasItens”).data(‘page-id’);var _thisScroll=$(this).scrollTop();$(‘section.noticia’).each(function(a){var _divAtual=$(this);var scrollAtual=_thisScroll;var scrollTopDiv=_divAtual.offset().top;var alturaDivAtual=_divAtual.height();var intervalo=scrollTopDiv+alturaDivAtual;if(scrollAtual>scrollTopDiv&&scrollAtual
“);$(“.materiasDetalhes .detalhesMateria .texto table”).each(function(){if($(this).outerWidth()>$(window).width()){$(this).wrap(‘
‘)}});$(‘.favoritos’).click(function(e){e.preventDefault();var var_this=$(this);var url_pagina=var_this.attr(“href”);var status=”erro”;$.post(url_pagina,{},function(data){var obj=JSON.parse(data);if(obj.status){status=”sucesso”
if(obj.result==1){var_this.html(‘‘)}else{var_this.html(‘‘)}}
abreAlerta(“Favoritos”,obj.message,status)});return!1});loading=!1;var alturaTopoDiv=$(‘section.noticia:last-of-type .fimConteudo’).offset().top;var alturaTela=$(window).height();$(‘a.mostrarComentariosFacebook’).click(function(e){e.preventDefault();window.fbAsyncInit=function(){FB.init({appId:’1729451150601427′,xfbml:!0,version:’v12.0′});FB.XFBML.parse()};(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=” fields;var validacao=!0;fields={botao:””};var filterEmail=/^(([^<>()\[\]\\.,;:\s@”]+(\.[^<>()\[\]\\.,;:\s@”]+)*)|(“.+”))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;var form1=$(this).parents(“form”);$(form1).find(“:input”).each(function(e){if($(this).attr(“name”)==’email’&&!filterEmail.test(String($(this).val()).toLowerCase())){$(this).css(“border”,”1px solid red”);validacao=!1}else if($(this).val()==”){$(this).css(“border”,”1px solid red”);validacao=!1}else{$(this).css(“border”,”1px solid #D0D0D0″);fields[$(this).attr(‘name’)]=$(this).val()}});if(validacao){$.ajax({url:’conteudo/receba-novidades/’,type:’POST’,data:{‘fields’:JSON.stringify(fields)},success:function(retorno){$(“.formularioNewsletter”).hide();$(“.obrigadoNewsletter”).show();return!1}})}})});function loaditens(){loading=!0;$(‘section.noticia:last-of-type’).after().append(“
“);setTimeout(function(){var proxima=$(‘section.noticia:last-of-type’).data(‘content-proxima’);var base=$(‘section.noticia:last-of-type’).data(‘content-id-base’);var materiaId=$(‘section.noticia:last-of-type’).data(‘content-proximo-id’);var materiaTipo=$(‘section.noticia:last-of-type’).data(‘content-type’);var materiaTipoId=$(‘section.noticia:last-of-type’).data(‘content-id’);$.ajax({url:proxima,type:’POST’,data:{proxima:proxima,base:base},success:function(retorno){loading=!1;if(retorno!=”vazio”){$(‘section.noticiasItens’).append(retorno);$(‘.divisorCarregando’).addClass(‘carregado’)}else{}
$.ajax({url:’gravaAcesso’,type:’POST’,data:{id:materiaTipoId,tipo:materiaTipo},success:function(retorno){}});try{if(OBR!=undefined){OBR.extern.researchWidget()}}catch(e){}}})},1000)}
let playerYT={};var rodou=0;function createVideo(video){var youtubeScriptId=”youtube-api”;var youtubeScript=document.getElementById(youtubeScriptId);var videoId=video.getAttribute(“data-video-id”);if(youtubeScript===null){var tag=document.createElement(“script”);var firstScript=document.getElementsByTagName(“script”)[0];tag.src=”
window.onYouTubeIframeAPIReady=function(){playerYT[videoId]=new window.YT.Player(video,{videoId:videoId,playerVars:{width:’100%’,height:’447px’,autoplay:0,modestbranding:1,rel:0},events:{‘onStateChange’:onPlayerReady}});rodou=1};if(rodou!=0){Object.entries(playerYT).forEach(([key,value])=>{if(key!=videoId){playerYT[key].pauseVideo()}});playerYT[videoId]=new window.YT.Player(video,{videoId:videoId,playerVars:{width:’100%’,height:’447px’,autoplay:0,modestbranding:1,rel:0},events:{‘onStateChange’:onPlayerReady}})}}
function onPlayerReady(event){contabeisLoad.setPause();dataLayer.push({‘event’:’media-play’,’eventCategory’:’Youtube’})};!function(){return function e(t,n,o){function i(a,s){if(!n[a]){if(!t[a]){var l=”function”==typeof require&&require;if(!s&&l)return l(a,!0);if(r)return r(a,!0);var d=new Error(“Cannot find module ‘”+a+”‘”);throw d.code=”MODULE_NOT_FOUND”,d}var u=n[a]={exports:{}};t[a][0].call(u.exports,function(e){var n=t[a][1][e];return i(n||e)},u,u.exports,e,t,n,o)}return n[a].exports}for(var r=”function”==typeof require&&require,a=0;a
‘,e.captions.style.display=”none”,n.insertBefore(e.captions,n.firstChild),e.captionsText=e.captions.querySelector(“.”+a.options.classPrefix+”captions-text”),e.captionsButton=o.default.createElement(“div”),e.captionsButton.className=a.options.classPrefix+”button “+a.options.classPrefix+”captions-button”,e.captionsButton.innerHTML=’
“,a.addControlElement(e.captionsButton,”tracks”),e.captionsButton.querySelector(“.”+a.options.classPrefix+”captions-selector-input”).disabled=!1,e.chaptersButton=o.default.createElement(“div”),e.chaptersButton.className=a.options.classPrefix+”button “+a.options.classPrefix+”chapters-button”,e.chaptersButton.innerHTML=’
‘;for(var m=0,h=0;h “},checkForTracks:function(){var e=this,t=!1;if(e.options.hideCaptionsButtonWhenEmpty){for(var n=0,o=e.tracks.length;n “;for(var i=t.chaptersButton.querySelectorAll(‘input[type=”radio”]’),r=t.chaptersButton.querySelectorAll(“.”+t.options.classPrefix+”chapters-selector-label”),a=0,s=i.length;a ‘,r.addControlElement(m,”volume”),r.options.keyActions.push({keys:[38],action:function(e){var t=e.getElement(e.container).querySelector(“.”+r.options.classPrefix+”volume-slider”);t&&t.matches(“:focus”)&&(t.style.display=”block”),e.isVideo&&(e.showControls(),e.startControlsTimer());var n=Math.min(e.volume+.1,1);e.setVolume(n),n>0&&e.setMuted(!1)}},{keys:[40],action:function(e){var t=e.getElement(e.container).querySelector(“.”+r.options.classPrefix+”volume-slider”);t&&(t.style.display=”block”),e.isVideo&&(e.showControls(),e.startControlsTimer());var n=Math.max(e.volume-.1,0);e.setVolume(n),n<=.1&&e.setMuted(!0)}},{keys:[77],action:function(e){var t=e.getElement(e.container).querySelector("."+r.options.classPrefix+"volume-slider");t&&(t.style.display="block"),e.isVideo&&(e.showControls(),e.startControlsTimer()),e.media.muted?e.setMuted(!1):e.setMuted(!0)}}),"horizontal"===u){var h=o.default.createElement("a");h.className=r.options.classPrefix+"horizontal-volume-slider",h.href="https://www.contabeis.com.br/javascript:void(0);",h.setAttribute("aria-label",a.default.t("mejs.volume-slider")),h.setAttribute("aria-valuemin",0),h.setAttribute("aria-valuemax",100),h.setAttribute("aria-valuenow",100),h.setAttribute("role","slider"),h.innerHTML+=' ‘,m.parentNode.insertBefore(h,m.nextSibling)}var v=!1,g=!1,y=!1,E=”vertical”===u?r.getElement(r.container).querySelector(“.”+r.options.classPrefix+”volume-slider”):r.getElement(r.container).querySelector(“.”+r.options.classPrefix+”horizontal-volume-slider”),b=”vertical”===u?r.getElement(r.container).querySelector(“.”+r.options.classPrefix+”volume-total”):r.getElement(r.container).querySelector(“.”+r.options.classPrefix+”horizontal-volume-total”),S=”vertical”===u?r.getElement(r.container).querySelector(“.”+r.options.classPrefix+”volume-current”):r.getElement(r.container).querySelector(“.”+r.options.classPrefix+”horizontal-volume-current”),x=”vertical”===u?r.getElement(r.container).querySelector(“.”+r.options.classPrefix+”volume-handle”):r.getElement(r.container).querySelector(“.”+r.options.classPrefix+”horizontal-volume-handle”),w=function(e){if(null!==e&&!isNaN(e)&&void 0!==e){if(e=Math.max(0,e),0===(e=Math.min(e,1))){(0,d.removeClass)(m,r.options.classPrefix+”mute”),(0,d.addClass)(m,r.options.classPrefix+”unmute”);var t=m.firstElementChild;t.setAttribute(“title”,f),t.setAttribute(“aria-label”,f)}else{(0,d.removeClass)(m,r.options.classPrefix+”unmute”),(0,d.addClass)(m,r.options.classPrefix+”mute”);var n=m.firstElementChild;n.setAttribute(“title”,c),n.setAttribute(“aria-label”,c)}var o=100*e+”%”,i=getComputedStyle(x);”vertical”===u?(S.style.bottom=0,S.style.height=o,x.style.bottom=o,x.style.marginBottom=-parseFloat(i.height)/2+”px”):(S.style.left=0,S.style.width=o,x.style.left=o,x.style.marginLeft=-parseFloat(i.width)/2+”px”)}},P=function(e){var t=(0,d.offset)(b),n=getComputedStyle(b);y=!0;var o=null;if(“vertical”===u){var i=parseFloat(n.height);if(o=(i-(e.pageY-t.top))/i,0===t.top||0===t.left)return}else{var a=parseFloat(n.width);o=(e.pageX-t.left)/a}o=Math.max(0,o),o=Math.min(o,1),w(o),r.setMuted(0===o),r.setVolume(o),e.preventDefault(),e.stopPropagation()},k=function(){r.muted?(w(0),(0,d.removeClass)(m,r.options.classPrefix+”mute”),(0,d.addClass)(m,r.options.classPrefix+”unmute”)):(w(i.volume),(0,d.removeClass)(m,r.options.classPrefix+”unmute”),(0,d.addClass)(m,r.options.classPrefix+”mute”))};e.getElement(e.container).addEventListener(“keydown”,function(e){!!e.target.closest(“.”+r.options.classPrefix+”container”)||”vertical”!==u||(E.style.display=”none”)}),m.addEventListener(“mouseenter”,function(e){e.target===m&&(E.style.display=”block”,g=!0,e.preventDefault(),e.stopPropagation())}),m.addEventListener(“focusin”,function(){E.style.display=”block”,g=!0}),m.addEventListener(“focusout”,function(e){e.relatedTarget&&(!e.relatedTarget||e.relatedTarget.matches(“.”+r.options.classPrefix+”volume-slider”))||”vertical”!==u||(E.style.display=”none”)}),m.addEventListener(“mouseleave”,function(){g=!1,v||”vertical”!==u||(E.style.display=”none”)}),m.addEventListener(“focusout”,function(){g=!1}),m.addEventListener(“keydown”,function(e){if(r.options.enableKeyboard&&r.options.keyActions.length){var t=e.which||e.keyCode||0,n=i.volume;switch(t){case 38:n=Math.min(n+.1,1);break;case 40:n=Math.max(0,n-.1);break;default:return!0}v=!1,w(n),i.setVolume(n),e.preventDefault(),e.stopPropagation()}}),m.querySelector(“button”).addEventListener(“click”,function(){i.setMuted(!i.muted);var e=(0,l.createEvent)(“volumechange”,i);i.dispatchEvent(e)}),E.addEventListener(“dragstart”,function(){return!1}),E.addEventListener(“mouseover”,function(){g=!0}),E.addEventListener(“focusin”,function(){E.style.display=”block”,g=!0}),E.addEventListener(“focusout”,function(){g=!1,v||”vertical”!==u||(E.style.display=”none”)}),E.addEventListener(“mousedown”,function(e){P(e),r.globalBind(“mousemove.vol”,function(e){var t=e.target;v&&(t===E||t.closest(“vertical”===u?”.”+r.options.classPrefix+”volume-slider”:”.”+r.options.classPrefix+”horizontal-volume-slider”))&&P(e)}),r.globalBind(“mouseup.vol”,function(){v=!1,g||”vertical”!==u||(E.style.display=”none”)}),v=!0,e.preventDefault(),e.stopPropagation()}),i.addEventListener(“volumechange”,function(e){var t;v||k(),t=Math.floor(100*i.volume),E.setAttribute(“aria-valuenow”,t),E.setAttribute(“aria-valuetext”,t+”%”)});var T=!1;i.addEventListener(“rendererready”,function(){y||setTimeout(function(){T=!0,(0===e.options.startVolume||i.originalNode.muted)&&(i.setMuted(!0),e.options.startVolume=0),i.setVolume(e.options.startVolume),r.setControlsSize()},250)}),i.addEventListener(“loadedmetadata”,function(){setTimeout(function(){y||T||((0===e.options.startVolume||i.originalNode.muted)&&i.setMuted(!0),i.setVolume(e.options.startVolume),r.setControlsSize()),T=!1},250)}),(0===e.options.startVolume||i.originalNode.muted)&&(i.setMuted(!0),e.options.startVolume=0,k()),r.getElement(r.container).addEventListener(“controlsresize”,function(){k()})}}})},{16:16,2:2,25:25,26:26,27:27,5:5}],15:[function(e,t,n){“use strict”;Object.defineProperty(n,”__esModule”,{value:!0});n.EN={“mejs.plural-form”:1,”mejs.download-file”:”Download File”,”mejs.install-flash”:”You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from Slider”,”mejs.time-help-text”:”Use Left/Right Arrow keys to advance one second, Up/Down arrows to advance ten seconds.”,”mejs.live-broadcast”:”Live Broadcast”,”mejs.volume-help-text”:”Use Up/Down Arrow keys to increase or decrease volume.”,”mejs.unmute”:”Unmute”,”mejs.mute”:”Mute”,”mejs.volume-slider”:”Volume Slider”,”mejs.video-player”:”Video Player”,”mejs.audio-player”:”Audio Player”,”mejs.captions-subtitles”:”Captions/Subtitles”,”mejs.captions-chapters”:”Chapters”,”mejs.none”:”None”,”mejs.afrikaans”:”Afrikaans”,”mejs.albanian”:”Albanian”,”mejs.arabic”:”Arabic”,”mejs.belarusian”:”Belarusian”,”mejs.bulgarian”:”Bulgarian”,”mejs.catalan”:”Catalan”,”mejs.chinese”:”Chinese”,”mejs.chinese-simplified”:”Chinese (Simplified)”,”mejs.chinese-traditional”:”Chinese (Traditional)”,”mejs.croatian”:”Croatian”,”mejs.czech”:”Czech”,”mejs.danish”:”Danish”,”mejs.dutch”:”Dutch”,”mejs.english”:”English”,”mejs.estonian”:”Estonian”,”mejs.filipino”:”Filipino”,”mejs.finnish”:”Finnish”,”mejs.french”:”French”,”mejs.galician”:”Galician”,”mejs.german”:”German”,”mejs.greek”:”Greek”,”mejs.haitian-creole”:”Haitian Creole”,”mejs.hebrew”:”Hebrew”,”mejs.hindi”:”Hindi”,”mejs.hungarian”:”Hungarian”,”mejs.icelandic”:”Icelandic”,”mejs.indonesian”:”Indonesian”,”mejs.irish”:”Irish”,”mejs.italian”:”Italian”,”mejs.japanese”:”Japanese”,”mejs.korean”:”Korean”,”mejs.latvian”:”Latvian”,”mejs.lithuanian”:”Lithuanian”,”mejs.macedonian”:”Macedonian”,”mejs.malay”:”Malay”,”mejs.maltese”:”Maltese”,”mejs.norwegian”:”Norwegian”,”mejs.persian”:”Persian”,”mejs.polish”:”Polish”,”mejs.portuguese”:”Portuguese”,”mejs.romanian”:”Romanian”,”mejs.russian”:”Russian”,”mejs.serbian”:”Serbian”,”mejs.slovak”:”Slovak”,”mejs.slovenian”:”Slovenian”,”mejs.spanish”:”Spanish”,”mejs.swahili”:”Swahili”,”mejs.swedish”:”Swedish”,”mejs.tagalog”:”Tagalog”,”mejs.thai”:”Thai”,”mejs.turkish”:”Turkish”,”mejs.ukrainian”:”Ukrainian”,”mejs.vietnamese”:”Vietnamese”,”mejs.welsh”:”Welsh”,”mejs.yiddish”:”Yiddish”}},{}],16:[function(e,t,n){“use strict”;Object.defineProperty(n,”__esModule”,{value:!0}),n.config=void 0;var o=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e},i=function(){function e(e,t){for(var n=0;n-1&&e.showSlide(n)}},drawChapters:function(e){var t=this,n=e.entries.length;if(n){t.chaptersButton.querySelector(“ul”).innerHTML=””;for(var o=0;o>1].start,a=e[i].stop,t>=r&&tt&&(o=i-1)}return-1}}),i.default.language={codes:{af:”mejs.afrikaans”,sq:”mejs.albanian”,ar:”mejs.arabic”,be:”mejs.belarusian”,bg:”mejs.bulgarian”,ca:”mejs.catalan”,zh:”mejs.chinese”,”zh-cn”:”mejs.chinese-simplified”,”zh-tw”:”mejs.chines-traditional”,hr:”mejs.croatian”,cs:”mejs.czech”,da:”mejs.danish”,nl:”mejs.dutch”,en:”mejs.english”,et:”mejs.estonian”,fl:”mejs.filipino”,fi:”mejs.finnish”,fr:”mejs.french”,gl:”mejs.galician”,de:”mejs.german”,el:”mejs.greek”,ht:”mejs.haitian-creole”,iw:”mejs.hebrew”,hi:”mejs.hindi”,hu:”mejs.hungarian”,is:”mejs.icelandic”,id:”mejs.indonesian”,ga:”mejs.irish”,it:”mejs.italian”,ja:”mejs.japanese”,ko:”mejs.korean”,lv:”mejs.latvian”,lt:”mejs.lithuanian”,mk:”mejs.macedonian”,ms:”mejs.malay”,mt:”mejs.maltese”,no:”mejs.norwegian”,fa:”mejs.persian”,pl:”mejs.polish”,pt:”mejs.portuguese”,ro:”mejs.romanian”,ru:”mejs.russian”,sr:”mejs.serbian”,sk:”mejs.slovak”,sl:”mejs.slovenian”,es:”mejs.spanish”,sw:”mejs.swahili”,sv:”mejs.swedish”,tl:”mejs.tagalog”,th:”mejs.thai”,tr:”mejs.turkish”,uk:”mejs.ukrainian”,vi:”mejs.vietnamese”,cy:”mejs.welsh”,yi:”mejs.yiddish”}},i.default.TrackFormatParser={webvtt:{pattern:/^((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{1,3})?) –\> ((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{3})?)(.*)$/,parse:function(e){for(var t=e.split(/\r?\n/),n=[],o=void 0,i=void 0,r=void 0,a=0,s=t.length;a=0&&””!==t[a-1]&&(r=t[a-1]),i=t[++a],a++;””!==t[a]&&a
‘,e.getElement(e.container).addEventListener(“focus”,function(t){if(!e.controlsAreVisible&&!e.hasFocus&&e.controlsEnabled){e.showControls(!0);var n=(0,f.isNodeAfter)(t.relatedTarget,e.getElement(e.container))?”.”+e.options.classPrefix+”controls .”+e.options.classPrefix+”button:last-child > button”:”.”+e.options.classPrefix+”playpause-button > button”;e.getElement(e.container).querySelector(n).focus()}}),e.node.parentNode.insertBefore(e.getElement(e.container),e.node),e.options.features.length||e.options.useDefaultControls||(e.getElement(e.container).style.background=”transparent”,e.getElement(e.container).querySelector(“.”+e.options.classPrefix+”controls”).style.display=”none”),e.isVideo&&”fill”===e.options.stretching&&!h.hasClass(e.getElement(e.container).parentNode,e.options.classPrefix+”fill-container”)){e.outerContainer=e.media.parentNode;var r=a.default.createElement(“div”);r.className=e.options.classPrefix+”fill-container”,e.getElement(e.container).parentNode.insertBefore(r,e.getElement(e.container)),r.appendChild(e.getElement(e.container))}c.IS_ANDROID&&h.addClass(e.getElement(e.container),e.options.classPrefix+”android”),c.IS_IOS&&h.addClass(e.getElement(e.container),e.options.classPrefix+”ios”),c.IS_IPAD&&h.addClass(e.getElement(e.container),e.options.classPrefix+”ipad”),c.IS_IPHONE&&h.addClass(e.getElement(e.container),e.options.classPrefix+”iphone”),h.addClass(e.getElement(e.container),e.isVideo?e.options.classPrefix+”video”:e.options.classPrefix+”audio”),e.getElement(e.container).querySelector(“.”+e.options.classPrefix+”mediaelement”).appendChild(e.node),e.media.player=e,e.controls=e.getElement(e.container).querySelector(“.”+e.options.classPrefix+”controls”),e.layers=e.getElement(e.container).querySelector(“.”+e.options.classPrefix+”layers”);var d=e.isVideo?”video”:”audio”,p=d.substring(0,1).toUpperCase()+d.substring(1);e.options[d+”Width”]>0||e.options[d+”Width”].toString().indexOf(“%”)>-1?e.width=e.options[d+”Width”]:””!==e.node.style.width&&null!==e.node.style.width?e.width=e.node.style.width:e.node.getAttribute(“width”)?e.width=e.node.getAttribute(“width”):e.width=e.options[“default”+p+”Width”],e.options[d+”Height”]>0||e.options[d+”Height”].toString().indexOf(“%”)>-1?e.height=e.options[d+”Height”]:””!==e.node.style.height&&null!==e.node.style.height?e.height=e.node.style.height:e.node.getAttribute(“height”)?e.height=e.node.getAttribute(“height”):e.height=e.options[“default”+p+”Height”],e.initialAspectRatio=e.height>=e.width?e.width/e.height:e.height/e.width,e.setPlayerSize(e.width,e.height),t.pluginWidth=e.width,t.pluginHeight=e.height}if(s.default.MepDefaults=t,new l.default(e.media,t,e.mediaFiles),void 0!==e.getElement(e.container)&&e.options.features.length&&e.controlsAreVisible&&!e.options.hideVideoControlsOnLoad){var m=(0,f.createEvent)(“controlsshown”,e.getElement(e.container));e.getElement(e.container).dispatchEvent(m)}}},{key:”showControls”,value:function(e){var t=this;if(e=void 0===e||e,!t.controlsAreVisible&&t.isVideo){if(e)!function(){h.fadeIn(t.getElement(t.controls),200,function(){h.removeClass(t.getElement(t.controls),t.options.classPrefix+”offscreen”);var e=(0,f.createEvent)(“controlsshown”,t.getElement(t.container));t.getElement(t.container).dispatchEvent(e)});for(var e=t.getElement(t.container).querySelectorAll(“.”+t.options.classPrefix+”control”),n=function(n,o){h.fadeIn(e[n],200,function(){h.removeClass(e[n],t.options.classPrefix+”offscreen”)})},o=0,i=e.length;o0)||n.isVideo&&!n.options.hideVideoControlsOnLoad&&!n.readyState||n.ended)){if(e)!function(){h.fadeOut(n.getElement(n.controls),200,function(){h.addClass(n.getElement(n.controls),n.options.classPrefix+”offscreen”),n.getElement(n.controls).style.display=””;var e=(0,f.createEvent)(“controlshidden”,n.getElement(n.container));n.getElement(n.container).dispatchEvent(e)});for(var e=n.getElement(n.container).querySelectorAll(“.”+n.options.classPrefix+”control”),t=function(t,o){h.fadeOut(e[t],200,function(){h.addClass(e[t],n.options.classPrefix+”offscreen”),e[t].style.display=””})},o=0,i=e.length;o0&&e.currentMediaTime>0&&(e.setCurrentTime(e.currentMediaTime),c.IS_IOS||c.IS_ANDROID||e.play())})}},{key:”_meReady”,value:function(e,t){var n=this,o=t.getAttribute(“autoplay”),i=!(null==o||”false”===o),l=null!==e.rendererName&&/(native|html5)/i.test(n.media.rendererName);if(n.getElement(n.controls)&&n.enableControls(),n.getElement(n.container)&&n.getElement(n.container).querySelector(“.”+n.options.classPrefix+”overlay-play”)&&(n.getElement(n.container).querySelector(“.”+n.options.classPrefix+”overlay-play”).style.display=””),!n.created){if(n.created=!0,n.media=e,n.domNode=t,!(c.IS_ANDROID&&n.options.AndroidUseNativeControls||c.IS_IPAD&&n.options.iPadUseNativeControls||c.IS_IPHONE&&n.options.iPhoneUseNativeControls)){if(!n.isVideo&&!n.options.features.length&&!n.options.useDefaultControls)return i&&l&&n.play(),void(n.options.success&&(“string”==typeof n.options.success?r.default[n.options.success](n.media,n.domNode,n):n.options.success(n.media,n.domNode,n)));if(n.featurePosition={},n._setDefaultPlayer(),n.buildposter(n,n.getElement(n.controls),n.getElement(n.layers),n.media),n.buildkeyboard(n,n.getElement(n.controls),n.getElement(n.layers),n.media),n.buildoverlays(n,n.getElement(n.controls),n.getElement(n.layers),n.media),n.options.useDefaultControls){var d=[“playpause”,”current”,”progress”,”duration”,”tracks”,”volume”,”fullscreen”];n.options.features=d.concat(n.options.features.filter(function(e){return-1===d.indexOf(e)}))}n.buildfeatures(n,n.getElement(n.controls),n.getElement(n.layers),n.media);var u=(0,f.createEvent)(“controlsready”,n.getElement(n.container));n.getElement(n.container).dispatchEvent(u),n.setPlayerSize(n.width,n.height),n.setControlsSize(),n.isVideo&&(n.clickToPlayPauseCallback=function(){if(n.options.clickToPlayPause){var e=n.getElement(n.container).querySelector(“.”+n.options.classPrefix+”overlay-button”),t=e.getAttribute(“aria-pressed”);n.paused&&t?n.pause():n.paused?n.play():n.pause(),e.setAttribute(“aria-pressed”,!t),n.getElement(n.container).focus()}},n.createIframeLayer(),n.media.addEventListener(“click”,n.clickToPlayPauseCallback),!c.IS_ANDROID&&!c.IS_IOS||n.options.alwaysShowControls?(n.getElement(n.container).addEventListener(“mouseenter”,function(){n.controlsEnabled&&(n.options.alwaysShowControls||(n.killControlsTimer(“enter”),n.showControls(),n.startControlsTimer(n.options.controlsTimeoutMouseEnter)))}),n.getElement(n.container).addEventListener(“mousemove”,function(){n.controlsEnabled&&(n.controlsAreVisible||n.showControls(),n.options.alwaysShowControls||n.startControlsTimer(n.options.controlsTimeoutMouseEnter))}),n.getElement(n.container).addEventListener(“mouseleave”,function(){n.controlsEnabled&&(n.paused||n.options.alwaysShowControls||n.startControlsTimer(n.options.controlsTimeoutMouseLeave))})):n.node.addEventListener(“touchstart”,function(){n.controlsAreVisible?n.hideControls(!1):n.controlsEnabled&&n.showControls(!1)},!!c.SUPPORT_PASSIVE_EVENT&&{passive:!0}),n.options.hideVideoControlsOnLoad&&n.hideControls(!1),n.options.enableAutosize&&n.media.addEventListener(“loadedmetadata”,function(e){var t=void 0!==e?e.detail.target||e.target:n.media;n.options.videoHeight<=0&&!n.domNode.getAttribute("height")&&!n.domNode.style.height&&null!==t&&!isNaN(t.videoHeight)&&(n.setPlayerSize(t.videoWidth,t.videoHeight),n.setControlsSize(),n.media.setSize(t.videoWidth,t.videoHeight))})),n.media.addEventListener("play",function(){for(var e in n.hasFocus=!0,s.default.players)if(s.default.players.hasOwnProperty(e)){var t=s.default.players[e];t.id===n.id||!n.options.pauseOtherPlayers||t.paused||t.ended||!0===t.options.ignorePauseOtherPlayersOption||(t.pause(),t.hasFocus=!1)}c.IS_ANDROID||c.IS_IOS||n.options.alwaysShowControls||!n.isVideo||n.hideControls()}),n.media.addEventListener("ended",function(){if(n.options.autoRewind)try{n.setCurrentTime(0),setTimeout(function(){var e=n.getElement(n.container).querySelector("."+n.options.classPrefix+"overlay-loading");e&&e.parentNode&&(e.parentNode.style.display="none")},20)}catch(e){}"function"==typeof n.media.renderer.stop?n.media.renderer.stop():n.pause(),n.setProgressRail&&n.setProgressRail(),n.setCurrentRail&&n.setCurrentRail(),n.options.loop?n.play():!n.options.alwaysShowControls&&n.controlsEnabled&&n.showControls()}),n.media.addEventListener("loadedmetadata",function(){(0,p.calculateTimeFormat)(n.getDuration(),n.options,n.options.framesPerSecond||25),n.updateDuration&&n.updateDuration(),n.updateCurrent&&n.updateCurrent(),n.isFullScreen||(n.setPlayerSize(n.width,n.height),n.setControlsSize())});var m=null;n.media.addEventListener("timeupdate",function(){isNaN(n.getDuration())||m===n.getDuration()||(m=n.getDuration(),(0,p.calculateTimeFormat)(m,n.options,n.options.framesPerSecond||25),n.updateDuration&&n.updateDuration(),n.updateCurrent&&n.updateCurrent(),n.setControlsSize())}),n.getElement(n.container).addEventListener("click",function(e){h.addClass(e.currentTarget,n.options.classPrefix+"container-keyboard-inactive")}),n.getElement(n.container).addEventListener("focusin",function(e){h.removeClass(e.currentTarget,n.options.classPrefix+"container-keyboard-inactive"),!n.isVideo||c.IS_ANDROID||c.IS_IOS||!n.controlsEnabled||n.options.alwaysShowControls||(n.killControlsTimer("enter"),n.showControls(),n.startControlsTimer(n.options.controlsTimeoutMouseEnter))}),n.getElement(n.container).addEventListener("focusout",function(e){setTimeout(function(){e.relatedTarget&&n.keyboardAction&&!e.relatedTarget.closest("."+n.options.classPrefix+"container")&&(n.keyboardAction=!1,!n.isVideo||n.options.alwaysShowControls||n.paused||n.startControlsTimer(n.options.controlsTimeoutMouseLeave))},0)}),setTimeout(function(){n.setPlayerSize(n.width,n.height),n.setControlsSize()},0),n.globalResizeCallback=function(){n.isFullScreen||c.HAS_TRUE_NATIVE_FULLSCREEN&&a.default.webkitIsFullScreen||n.setPlayerSize(n.width,n.height),n.setControlsSize()},n.globalBind("resize",n.globalResizeCallback)}i&&l&&n.play(),n.options.success&&("string"==typeof n.options.success?r.default[n.options.success](n.media,n.domNode,n):n.options.success(n.media,n.domNode,n))}}},{key:"_handleError",value:function(e,t,n){var o=this,i=o.getElement(o.layers).querySelector("."+o.options.classPrefix+"overlay-play");i&&(i.style.display="none"),o.options.error&&o.options.error(e,t,n),o.getElement(o.container).querySelector("."+o.options.classPrefix+"cannotplay")&&o.getElement(o.container).querySelector("."+o.options.classPrefix+"cannotplay").remove();var r=a.default.createElement("div");r.className=o.options.classPrefix+"cannotplay",r.style.width="100%",r.style.height="100%";var l="function"==typeof o.options.customError?o.options.customError(o.media,o.media.originalNode):o.options.customError,d="";if(!l){var u=o.media.originalNode.getAttribute("poster");if(u&&(d='‘),e.message&&(l=”
“+e.message+”
“),e.urls)for(var c=0,f=e.urls.length;c -1?e:parseFloat(e)+”px”,t=(0,f.isString)(t)&&t.indexOf(“%”)>-1?t:parseFloat(t)+”px”,n.getElement(n.container).style.width=e,n.getElement(n.container).style.height=t;for(var o=n.getElement(n.layers).children,i=0,r=o.length;i
‘,n.appendChild(r),s.style.display=”none”,s.className=i.options.classPrefix+”overlay “+i.options.classPrefix+”layer”,s.innerHTML=’
‘,n.appendChild(s),l.className=i.options.classPrefix+”overlay “+i.options.classPrefix+”layer “+i.options.classPrefix+”overlay-play”,l.innerHTML=’
‘,l.addEventListener(“click”,function(){if(i.options.clickToPlayPause){var e=i.getElement(i.container).querySelector(“.”+i.options.classPrefix+”overlay-button”),t=e.getAttribute(“aria-pressed”);i.paused?i.play():i.pause(),e.setAttribute(“aria-pressed”,!!t),i.getElement(i.container).focus()}}),l.addEventListener(“keydown”,function(e){var t=e.keyCode||e.which||0;if(13===t||c.IS_FIREFOX&&32===t){var n=(0,f.createEvent)(“click”,l);return l.dispatchEvent(n),!1}}),n.appendChild(l),null!==i.media.rendererName&&(/(youtube|facebook)/i.test(i.media.rendererName)&&!(i.media.originalNode.getAttribute(“poster”)||e.options.poster||”function”==typeof i.media.renderer.getPosterUrl&&i.media.renderer.getPosterUrl())||c.IS_STOCK_ANDROID||i.media.originalNode.getAttribute(“autoplay”))&&(l.style.display=”none”);var d=!1;o.addEventListener(“play”,function(){l.style.display=”none”,r.style.display=”none”,s.style.display=”none”,d=!1}),o.addEventListener(“playing”,function(){l.style.display=”none”,r.style.display=”none”,s.style.display=”none”,d=!1}),o.addEventListener(“seeking”,function(){l.style.display=”none”,r.style.display=””,d=!1}),o.addEventListener(“seeked”,function(){l.style.display=i.paused&&!c.IS_STOCK_ANDROID?””:”none”,r.style.display=”none”,d=!1}),o.addEventListener(“pause”,function(){r.style.display=”none”,c.IS_STOCK_ANDROID||d||(l.style.display=””),d=!1}),o.addEventListener(“waiting”,function(){r.style.display=””,d=!1}),o.addEventListener(“loadeddata”,function(){r.style.display=””,c.IS_ANDROID&&(o.canplayTimeout=setTimeout(function(){if(a.default.createEvent){var e=a.default.createEvent(“HTMLEvents”);return e.initEvent(“canplay”,!0,!0),o.dispatchEvent(e)}},300)),d=!1}),o.addEventListener(“canplay”,function(){r.style.display=”none”,clearTimeout(o.canplayTimeout),d=!1}),o.addEventListener(“error”,function(e){i._handleError(e,i.media,i.node),r.style.display=”none”,l.style.display=”none”,d=!0}),o.addEventListener(“loadedmetadata”,function(){i.controlsEnabled||i.enableControls()}),o.addEventListener(“keydown”,function(t){i.onkeydown(e,o,t),d=!1})}}},{key:”buildkeyboard”,value:function(e,t,n,o){var i=this;i.getElement(i.container).addEventListener(“keydown”,function(){i.keyboardAction=!0}),i.globalKeydownCallback=function(t){var n=a.default.activeElement.closest(“.”+i.options.classPrefix+”container”),r=i.media.closest(“.”+i.options.classPrefix+”container”);return i.hasFocus=!(!n||!r||n.id!==r.id),i.onkeydown(e,o,t)},i.globalClickCallback=function(e){i.hasFocus=!!e.target.closest(“.”+i.options.classPrefix+”container”)},i.globalBind(“keydown”,i.globalKeydownCallback),i.globalBind(“click”,i.globalClickCallback)}},{key:”onkeydown”,value:function(e,t,n){if(e.hasFocus&&e.options.enableKeyboard)for(var o=0,i=e.options.keyActions.length;oimg”);(o&&e.node.setAttribute(“poster”,o.src),delete e.node.autoplay,e.node.setAttribute(“src”,””),””!==e.media.canPlayType((0,m.getTypeFromFile)(n))&&e.node.setAttribute(“src”,n),t&&t.indexOf(“iframe”)>-1)&&a.default.getElementById(e.media.id+”-iframe-overlay”).remove();var i=e.node.cloneNode();if(i.style.display=””,e.getElement(e.container).parentNode.insertBefore(i,e.getElement(e.container)),e.node.remove(),e.mediaFiles)for(var r=0,s=e.mediaFiles.length;r t[0]||n[0]===t[0]&&n[1]>t[1]||n[0]===t[0]&&n[1]===t[1]&&n[2]>=t[2]},addPlugin:function(e,t,n,o,i){p.plugins[e]=p.detectPlugin(t,n,o,i)},detectPlugin:function(e,t,n,r){var a=[0,0,0],s=void 0,l=void 0;if(null!==u.NAV.plugins&&void 0!==u.NAV.plugins&&”object”===o(u.NAV.plugins[e])){if((s=u.NAV.plugins[e].description)&&(void 0===u.NAV.mimeTypes||!u.NAV.mimeTypes[t]||u.NAV.mimeTypes[t].enabledPlugin))for(var d=0,c=(a=s.replace(e,””).replace(/^\s+/,””).replace(/\sr/gi,”.”).split(“.”)).length;d ‘,i.addControlElement(e.speedButton,”speed”);for(var p=0,m=r.length;p “}l=i.options.defaultSpeed,e.speedSelector=e.speedButton.querySelector(“.”+i.options.classPrefix+”speed-selector”);for(var v=[“mouseenter”,”focusin”],g=[“mouseleave”,”focusout”],y=e.speedButton.querySelectorAll(‘input[type=”radio”]’),E=e.speedButton.querySelectorAll(“.”+i.options.classPrefix+”speed-selector-label”),b=0,S=v.length;b ‘,spinnerTpl:’ ‘,errorTpl:’ {{ERROR}} ‘,btnTpl:{download:’‘,zoom:’‘,close:’‘,arrowLeft:’ ‘,arrowRight:’ ‘,smallBtn:’‘},parentEl:”body”,hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:”.fancybox-container”,axis:”y”},wheel:”auto”,onInit:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.noop,clickContent:function(t,e){return”image”===t.type&&”zoom”},clickSlide:”close”,clickOutside:”close”,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(t,e){return”image”===t.type&&”toggleControls”},clickSlide:function(t,e){return”image”===t.type?”toggleControls”:”close”},dblclickContent:function(t,e){return”image”===t.type&&”zoom”},dblclickSlide:function(t,e){return”image”===t.type&&”zoom”}},lang:”en”,i18n:{en:{CLOSE:”Close”,NEXT:”Next”,PREV:”Previous”,ERROR:”The requested content cannot be loaded. “),n(“body”).addClass(“compensate-for-scrollbar”)),i=””,n.each(r.buttons,function(t,e){i+=r.btnTpl[e]||””}),o=n(a.translate(a,r.baseTpl.replace(“{{buttons}}”,i).replace(“{{arrows}}”,r.btnTpl.arrowLeft+r.btnTpl.arrowRight))).attr(“id”,”fancybox-container-“+a.id).addClass(r.baseClass).data(“FancyBox”,a).appendTo(r.parentEl),a.$refs={container:o},[“bg”,”inner”,”infobar”,”toolbar”,”stage”,”caption”,”navigation”].forEach(function(t){a.$refs[t]=o.find(“.fancybox-“+t)}),a.trigger(“onInit”),a.activate(),a.jumpTo(a.currIndex)},translate:function(t,e){var n=t.opts.i18n[t.opts.lang]||t.opts.i18n.en;return e.replace(/\{\{(\w+)\}\}/g,function(t,e){return void 0===n[e]?t:n[e]})},addContent:function(t){var e,o=this,i=n.makeArray(t);n.each(i,function(t,e){var i,a,s,r,c,l={},d={};n.isPlainObject(e)?(l=e,d=e.opts||e):”object”===n.type(e)&&n(e).length?(i=n(e),d=i.data()||{},d=n.extend(!0,{},d,d.options),d.$orig=i,l.src=o.opts.src||d.src||i.attr(“href”),l.type||l.src||(l.type=”inline”,l.src=e)):l={type:”html”,src:e+””},l.opts=n.extend(!0,{},o.opts,d),n.isArray(d.buttons)&&(l.opts.buttons=d.buttons),n.fancybox.isMobile&&l.opts.mobile&&(l.opts=h(l.opts,l.opts.mobile)),a=l.type||l.opts.type,r=l.src||””,!a&&r&&((s=r.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(a=”video”,l.opts.video.format||(l.opts.video.format=”video/”+(“ogv”===s[1]?”ogg”:s[1]))):r.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?a=”image”:r.match(/\.(pdf)((\?|#).*)?$/i)?(a=”iframe”,l=n.extend(!0,l,{contentType:”pdf”,opts:{iframe:{preload:!1}}})):”#”===r.charAt(0)&&(a=”inline”)),a?l.type=a:o.trigger(“objectNeedsType”,l),l.contentType||(l.contentType=n.inArray(l.type,[“html”,”inline”,”ajax”])>-1?”html”:l.type),l.index=o.group.length,”auto”==l.opts.smallBtn&&(l.opts.smallBtn=n.inArray(l.type,[“html”,”inline”,”ajax”])>-1),”auto”===l.opts.toolbar&&(l.opts.toolbar=!l.opts.smallBtn),l.$thumb=l.opts.$thumb||null,l.opts.$trigger&&l.index===o.opts.index&&(l.$thumb=l.opts.$trigger.find(“img:first”),l.$thumb.length&&(l.opts.$orig=l.opts.$trigger)),l.$thumb&&l.$thumb.length||!l.opts.$orig||(l.$thumb=l.opts.$orig.find(“img:first”)),l.$thumb&&!l.$thumb.length&&(l.$thumb=null),l.thumb=l.opts.thumb||(l.$thumb?l.$thumb[0].src:null),”function”===n.type(l.opts.caption)&&(l.opts.caption=l.opts.caption.apply(e,[o,l])),”function”===n.type(o.opts.caption)&&(l.opts.caption=o.opts.caption.apply(e,[o,l])),l.opts.caption instanceof n||(l.opts.caption=void 0===l.opts.caption?””:l.opts.caption+””),”ajax”===l.type&&(c=r.split(/\s+/,2),c.length>1&&(l.src=c.shift(),l.opts.filter=c.shift())),l.opts.modal&&(l.opts=n.extend(!0,l.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),o.group.push(l)}),Object.keys(o.slides).length&&(o.updateControls(),(e=o.Thumbs)&&e.isActive&&(e.create(),e.focus()))},addEvents:function(){var e=this;e.removeEvents(),e.$refs.container.on(“click.fb-close”,”[data-fancybox-close]”,function(t){t.stopPropagation(),t.preventDefault(),e.close(t)}).on(“touchstart.fb-prev click.fb-prev”,”[data-fancybox-prev]”,function(t){t.stopPropagation(),t.preventDefault(),e.previous()}).on(“touchstart.fb-next click.fb-next”,”[data-fancybox-next]”,function(t){t.stopPropagation(),t.preventDefault(),e.next()}).on(“click.fb”,”[data-fancybox-zoom]”,function(t){e[e.isScaledDown()?”scaleToActual”:”scaleToFit”]()}),s.on(“orientationchange.fb resize.fb”,function(t){t&&t.originalEvent&&”resize”===t.originalEvent.type?(e.requestId&&u(e.requestId),e.requestId=d(function(){e.update(t)})):(e.current&&”iframe”===e.current.type&&e.$refs.stage.hide(),setTimeout(function(){e.$refs.stage.show(),e.update(t)},n.fancybox.isMobile?600:250))}),r.on(“keydown.fb”,function(t){var o=n.fancybox?n.fancybox.getInstance():null,i=o.current,a=t.keyCode||t.which;if(9==a)return void(i.opts.trapFocus&&e.focus(t));if(!(!i.opts.keyboard||t.ctrlKey||t.altKey||t.shiftKey||n(t.target).is(“input,textarea,video,audio,select”)))return 8===a||27===a?(t.preventDefault(),void e.close(t)):37===a||38===a?(t.preventDefault(),void e.previous()):39===a||40===a?(t.preventDefault(),void e.next()):void e.trigger(“afterKeydown”,t,a)}),e.group[e.currIndex].opts.idleTime&&(e.idleSecondsCounter=0,r.on(“mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle”,function(t){e.idleSecondsCounter=0,e.isIdle&&e.showControls(),e.isIdle=!1}),e.idleInterval=t.setInterval(function(){++e.idleSecondsCounter>=e.group[e.currIndex].opts.idleTime&&!e.isDragging&&(e.isIdle=!0,e.idleSecondsCounter=0,e.hideControls())},1e3))},removeEvents:function(){var e=this;s.off(“orientationchange.fb resize.fb”),r.off(“keydown.fb .fb-idle”),this.$refs.container.off(“.fb-close .fb-prev .fb-next”),e.idleInterval&&(t.clearInterval(e.idleInterval),e.idleInterval=null)},previous:function(t){return this.jumpTo(this.currPos-1,t)},next:function(t){return this.jumpTo(this.currPos+1,t)},jumpTo:function(t,e){var o,i,a,s,r,c,l,d,u,f=this,h=f.group.length;if(!(f.isDragging||f.isClosing||f.isAnimating&&f.firstRun)){if(t=parseInt(t,10),!(a=f.current?f.current.opts.loop:f.opts.loop)&&(t<0||t>=h))return!1;if(o=f.firstRun=!Object.keys(f.slides).length,r=f.current,f.prevIndex=f.currIndex,f.prevPos=f.currPos,s=f.createSlide(t),h>1&&((a||s.index ‘).appendTo(i.$refs.stage),i.slides[t]=n.extend(!0,{},i.group[o],{pos:t,$slide:e,isLoaded:!1}),i.updateSlide(i.slides[t])),i.slides[t]},scaleToActual:function(t,e,o){var i,a,s,r,c,l=this,d=l.current,u=d.$content,f=n.fancybox.getTranslate(d.$slide).width,p=n.fancybox.getTranslate(d.$slide).height,h=d.width,g=d.height;l.isAnimating||l.isMoved()||!u||”image”!=d.type||!d.isLoaded||d.hasError||(l.isAnimating=!0,n.fancybox.stop(u),t=void 0===t?.5*f:t,e=void 0===e?.5*p:e,i=n.fancybox.getTranslate(u),i.top-=n.fancybox.getTranslate(d.$slide).top,i.left-=n.fancybox.getTranslate(d.$slide).left,r=h/i.width,c=g/i.height,a=.5*f-.5*h,s=.5*p-.5*g,h>f&&(a=i.left*r-(t*r-t),a>0&&(a=0),a ‘).addClass(“fancybox-is-hidden”).appendTo(t.$slide.addClass(“fancybox-slide–image”)),!1!==t.opts.preload&&t.opts.width&&t.opts.height&&t.thumb&&(t.width=t.opts.width,t.height=t.opts.height,o=e.createElement(“img”),o.onerror=function(){n(this).remove(),t.$ghost=null},o.onload=function(){i.afterLoad(t)},t.$ghost=n(o).addClass(“fancybox-image”).appendTo(t.$content).attr(“src”,t.thumb)),i.setBigImage(t)},checkSrcset:function(e){var n,o,i,a,s=e.opts.srcset||e.opts.image.srcset;if(s){i=t.devicePixelRatio||1,a=t.innerWidth*i,o=s.split(“,”).map(function(t){var e={};return t.trim().split(/\s+/).forEach(function(t,n){var o=parseInt(t.substring(0,t.length-1),10);if(0===n)return e.url=t;o&&(e.value=o,e.postfix=t[t.length-1])}),e}),o.sort(function(t,e){return t.value-e.value});for(var r=0;r ‘).css(i.css).appendTo(a),a.addClass(“fancybox-slide–“+t.contentType),t.$iframe=e=n(i.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(i.attr).appendTo(t.$content),i.preload?(o.showLoading(t),e.on(“load.fb error.fb”,function(e){this.isReady=1,t.$slide.trigger(“refresh”),o.afterLoad(t)}),a.on(“refresh.fb”,function(){var n,o,s=t.$content,r=i.css.width,c=i.css.height;if(1===e[0].isReady){try{n=e.contents(),o=n.find(“body”)}catch(t){}o&&o.length&&o.children().length&&(a.css(“overflow”,”visible”),s.css({width:”100%”,”max-width”:”100%”,height:”9999px”}),void 0===r&&(r=Math.ceil(Math.max(o[0].clientWidth,o.outerWidth(!0)))),s.css(“width”,r||””).css(“max-width”,””),void 0===c&&(c=Math.ceil(Math.max(o[0].clientHeight,o.outerHeight(!0)))),s.css(“height”,c||””),a.css(“overflow”,”auto”)),s.removeClass(“fancybox-is-hidden”)}})):o.afterLoad(t),e.attr(“src”,t.src),a.one(“onReset”,function(){try{n(this).find(“iframe”).hide().unbind().attr(“src”,”//about:blank”)}catch(t){}n(this).off(“refresh.fb”).empty(),t.isLoaded=!1,t.isRevealed=!1})},setContent:function(t,e){var o=this;o.isClosing||(o.hideLoading(t),t.$content&&n.fancybox.stop(t.$content),t.$slide.empty(),l(e)&&e.parent().length?((e.hasClass(“fancybox-content”)||e.parent().hasClass(“fancybox-content”))&&e.parents(“.fancybox-slide”).trigger(“onReset”),t.$placeholder=n(“ “),t.contentType=”video”,t.opts.width=t.opts.width||n(e).attr(“width”),t.opts.height=t.opts.height||n(e).attr(“height”)),t.$content=t.$slide.children().filter(“div,form,main,video,audio,article,.fancybox-content”).first(),t.$content.siblings().hide(),t.$content.length||(t.$content=t.$slide.wrapInner(“ “).children().first()),t.$content.addClass(“fancybox-content”),t.$slide.addClass(“fancybox-slide–“+t.contentType),o.afterLoad(t))},setError:function(t){t.hasError=!0,t.$slide.trigger(“onReset”).removeClass(“fancybox-slide–“+t.contentType).addClass(“fancybox-slide–error”),t.contentType=”html”,this.setContent(t,this.translate(t,t.opts.errorTpl)),t.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(t){var e=this;(t=t||e.current)&&!t.$spinner&&(t.$spinner=n(e.translate(e,e.opts.spinnerTpl)).appendTo(t.$slide).hide().fadeIn(“fast”))},hideLoading:function(t){var e=this;(t=t||e.current)&&t.$spinner&&(t.$spinner.stop().remove(),delete t.$spinner)},afterLoad:function(t){var e=this;e.isClosing||(t.isLoading=!1,t.isLoaded=!0,e.trigger(“afterLoad”,t),e.hideLoading(t),!t.opts.smallBtn||t.$smallBtn&&t.$smallBtn.length||(t.$smallBtn=n(e.translate(t,t.opts.btnTpl.smallBtn)).appendTo(t.$content)),t.opts.protect&&t.$content&&!t.hasError&&(t.$content.on(“contextmenu.fb”,function(t){return 2==t.button&&t.preventDefault(),!0}),”image”===t.type&&n(‘ ‘).appendTo(t.$content)),e.adjustCaption(t),e.adjustLayout(t),t.pos===e.currPos&&e.updateCursor(),e.revealContent(t))},adjustCaption:function(t){var e,n=this,o=t||n.current,i=o.opts.caption,a=o.opts.preventCaptionOverlap,s=n.$refs.caption,r=!1;s.toggleClass(“fancybox-caption–separate”,a),a&&i&&i.length&&(o.pos!==n.currPos?(e=s.clone().appendTo(s.parent()),e.children().eq(0).empty().html(i),r=e.outerHeight(!0),e.empty().remove()):n.$caption&&(r=n.$caption.outerHeight(!0)),o.$slide.css(“padding-bottom”,r||””))},adjustLayout:function(t){var e,n,o,i,a=this,s=t||a.current;s.isLoaded&&!0!==s.opts.disableLayoutFix&&(s.$content.css(“margin-bottom”,””),s.$content.outerHeight()>s.$slide.height()+.5&&(o=s.$slide[0].style[“padding-bottom”],i=s.$slide.css(“padding-bottom”),parseFloat(i)>0&&(e=s.$slide[0].scrollHeight,s.$slide.css(“padding-bottom”,0),Math.abs(e-s.$slide[0].scrollHeight)<1&&(n=i),s.$slide.css("padding-bottom",o))),s.$content.css("margin-bottom",n))},revealContent:function(t){var e,o,i,a,s=this,r=t.$slide,c=!1,l=!1,d=s.isMoved(t),u=t.isRevealed;return t.isRevealed=!0,e=t.opts[s.firstRun?"animationEffect":"transitionEffect"],i=t.opts[s.firstRun?"animationDuration":"transitionDuration"],i=parseInt(void 0===t.forcedDuration?i:t.forcedDuration,10),!d&&t.pos===s.currPos&&i||(e=!1),"zoom"===e&&(t.pos===s.currPos&&i&&"image"===t.type&&!t.hasError&&(l=s.getThumbPos(t))?c=s.getFitPos(t):e="fade"),"zoom"===e?(s.isAnimating=!0,c.scaleX=c.width/l.width,c.scaleY=c.height/l.height,a=t.opts.zoomOpacity,"auto"==a&&(a=Math.abs(t.width/t.height-l.width/l.height)>.1),a&&(l.opacity=.1,c.opacity=1),n.fancybox.setTranslate(t.$content.removeClass(“fancybox-is-hidden”),l),p(t.$content),void n.fancybox.animate(t.$content,c,i,function(){s.isAnimating=!1,s.complete()})):(s.updateSlide(t),e?(n.fancybox.stop(r),o=”fancybox-slide–“+(t.pos>=s.prevPos?”next”:”previous”)+” fancybox-animated fancybox-fx-“+e,r.addClass(o).removeClass(“fancybox-slide–current”),t.$content.removeClass(“fancybox-is-hidden”),p(r),”image”!==t.type&&t.$content.hide().show(0),void n.fancybox.animate(r,”fancybox-slide–current”,i,function(){r.removeClass(o).css({transform:””,opacity:””}),t.pos===s.currPos&&s.complete()},!0)):(t.$content.removeClass(“fancybox-is-hidden”),u||!d||”image”!==t.type||t.hasError||t.$content.hide().fadeIn(“fast”),void(t.pos===s.currPos&&s.complete())))},getThumbPos:function(t){var e,o,i,a,s,r=!1,c=t.$thumb;return!(!c||!g(c[0]))&&(e=n.fancybox.getTranslate(c),o=parseFloat(c.css(“border-top-width”)||0),i=parseFloat(c.css(“border-right-width”)||0),a=parseFloat(c.css(“border-bottom-width”)||0),s=parseFloat(c.css(“border-left-width”)||0),r={top:e.top+o,left:e.left+s,width:e.width-i-s,height:e.height-o-a,scaleX:1,scaleY:1},e.width>0&&e.height>0&&r)},complete:function(){var t,e=this,o=e.current,i={};!e.isMoved()&&o.isLoaded&&(o.isComplete||(o.isComplete=!0,o.$slide.siblings().trigger(“onReset”),e.preload(“inline”),p(o.$slide),o.$slide.addClass(“fancybox-slide–complete”),n.each(e.slides,function(t,o){o.pos>=e.currPos-1&&o.pos<=e.currPos+1?i[o.pos]=o:o&&(n.fancybox.stop(o.$slide),o.$slide.off().remove())}),e.slides=i),e.isAnimating=!1,e.updateCursor(),e.trigger("afterShow"),o.opts.video.autoStart&&o.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),e.next()}),o.opts.autoFocus&&"html"===o.contentType&&(t=o.$content.find("input[autofocus]:enabled:visible:first"),t.length?t.trigger("focus"):e.focus(null,!0)),o.$slide.scrollTop(0).scrollLeft(0))},preload:function(t){var e,n,o=this;o.group.length<2||(n=o.slides[o.currPos+1],e=o.slides[o.currPos-1],e&&e.type===t&&o.loadSlide(e),n&&n.type===t&&o.loadSlide(n))},focus:function(t,o){var i,a,s=this,r=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(",");s.isClosing||(i=!t&&s.current&&s.current.isComplete?s.current.$slide.find("*:visible"+(o?":not(.fancybox-close-small)":"")):s.$refs.container.find("*:visible"),i=i.filter(r).filter(function(){return"hidden"!==n(this).css("visibility")&&!n(this).hasClass("disabled")}),i.length?(a=i.index(e.activeElement),t&&t.shiftKey?(a<0||0==a)&&(t.preventDefault(),i.eq(i.length-1).trigger("focus")):(a<0||a==i.length-1)&&(t&&t.preventDefault(),i.eq(0).trigger("focus"))):s.$refs.container.trigger("focus"))},activate:function(){var t=this;n(".fancybox-container").each(function(){var e=n(this).data("FancyBox");e&&e.id!==t.id&&!e.isClosing&&(e.trigger("onDeactivate"),e.removeEvents(),e.isVisible=!1)}),t.isVisible=!0,(t.current||t.isIdle)&&(t.update(),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(t,e){var o,i,a,s,r,c,l,u=this,f=u.current,h=function(){u.cleanUp(t)};return!u.isClosing&&(u.isClosing=!0,!1===u.trigger("beforeClose",t)?(u.isClosing=!1,d(function(){u.update()}),!1):(u.removeEvents(),a=f.$content,o=f.opts.animationEffect,i=n.isNumeric(e)?e:o?f.opts.animationDuration:0,f.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==t?n.fancybox.stop(f.$slide):o=!1,f.$slide.siblings().trigger("onReset").remove(),i&&u.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",i+"ms"),u.hideLoading(f),u.hideControls(!0),u.updateCursor(),"zoom"!==o||a&&i&&"image"===f.type&&!u.isMoved()&&!f.hasError&&(l=u.getThumbPos(f))||(o="fade"),"zoom"===o?(n.fancybox.stop(a),s=n.fancybox.getTranslate(a),c={top:s.top,left:s.left,scaleX:s.width/l.width,scaleY:s.height/l.height,width:l.width,height:l.height},r=f.opts.zoomOpacity,"auto"==r&&(r=Math.abs(f.width/f.height-l.width/l.height)>.1),r&&(l.opacity=0),n.fancybox.setTranslate(a,c),p(a),n.fancybox.animate(a,l,i,h),!0):(o&&i?n.fancybox.animate(f.$slide.addClass(“fancybox-slide–previous”).removeClass(“fancybox-slide–current”),”fancybox-animated fancybox-fx-“+o,i,h):!0===t?setTimeout(h,i):h(),!0)))},cleanUp:function(e){var o,i,a,s=this,r=s.current.opts.$orig;s.current.$slide.trigger(“onReset”),s.$refs.container.empty().remove(),s.trigger(“afterClose”,e),s.current.opts.backFocus&&(r&&r.length&&r.is(“:visible”)||(r=s.$trigger),r&&r.length&&(i=t.scrollX,a=t.scrollY,r.trigger(“focus”),n(“html, body”).scrollTop(a).scrollLeft(i))),s.current=null,o=n.fancybox.getInstance(),o?o.activate():(n(“body”).removeClass(“fancybox-active compensate-for-scrollbar”),n(“#fancybox-style-noscroll”).remove())},trigger:function(t,e){var o,i=Array.prototype.slice.call(arguments,1),a=this,s=e&&e.opts?e:a.current;if(s?i.unshift(s):s=a,i.unshift(a),n.isFunction(s.opts[t])&&(o=s.opts[t].apply(s,i)),!1===o)return o;”afterClose”!==t&&a.$refs?a.$refs.container.trigger(t+”.fb”,i):r.trigger(t+”.fb”,i)},updateControls:function(){var t=this,o=t.current,i=o.index,a=t.$refs.container,s=t.$refs.caption,r=o.opts.caption;o.$slide.trigger(“refresh”),r&&r.length?(t.$caption=s,s.children().eq(0).html(r)):t.$caption=null,t.hasHiddenControls||t.isIdle||t.showControls(),a.find(“[data-fancybox-count]”).html(t.group.length),a.find(“[data-fancybox-index]”).html(i+1),a.find(“[data-fancybox-prev]”).prop(“disabled”,!o.opts.loop&&i<=0),a.find("[data-fancybox-next]").prop("disabled",!o.opts.loop&&i>=t.group.length-1),”image”===o.type?a.find(“[data-fancybox-zoom]”).show().end().find(“[data-fancybox-download]”).attr(“href”,o.opts.image.src||o.src).show():o.opts.toolbar&&a.find(“[data-fancybox-download],[data-fancybox-zoom]”).hide(),n(e.activeElement).is(“:hidden,[disabled]”)&&t.$refs.container.trigger(“focus”)},hideControls:function(t){var e=this,n=[“infobar”,”toolbar”,”nav”];!t&&e.current.opts.preventCaptionOverlap||n.push(“caption”),this.$refs.container.removeClass(n.map(function(t){return”fancybox-show-“+t}).join(” “)),this.hasHiddenControls=!0},showControls:function(){var t=this,e=t.current?t.current.opts:t.opts,n=t.$refs.container;t.hasHiddenControls=!1,t.idleSecondsCounter=0,n.toggleClass(“fancybox-show-toolbar”,!(!e.toolbar||!e.buttons)).toggleClass(“fancybox-show-infobar”,!!(e.infobar&&t.group.length>1)).toggleClass(“fancybox-show-caption”,!!t.$caption).toggleClass(“fancybox-show-nav”,!!(e.arrows&&t.group.length>1)).toggleClass(“fancybox-is-modal”,!!e.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),n.fancybox={version:”3.5.7″,defaults:a,getInstance:function(t){var e=n(‘.fancybox-container:not(“.fancybox-is-closing”):last’).data(“FancyBox”),o=Array.prototype.slice.call(arguments,1);return e instanceof b&&(“string”===n.type(t)?e[t].apply(e,o):”function”===n.type(t)&&t.apply(e,o),e)},open:function(t,e,n){return new b(t,e,n)},close:function(t){var e=this.getInstance();e&&(e.close(),!0===t&&this.close(t))},destroy:function(){this.close(!0),r.add(“body”).off(“click.fb-start”,”**”)},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:function(){var n=e.createElement(“div”);return t.getComputedStyle&&t.getComputedStyle(n)&&t.getComputedStyle(n).getPropertyValue(“transform”)&&!(e.documentMode&&e.documentMode<11)}(),getTranslate:function(t){var e;return!(!t||!t.length)&&(e=t[0].getBoundingClientRect(),{top:e.top||0,left:e.left||0,width:e.width,height:e.height,opacity:parseFloat(t.css("opacity"))})},setTranslate:function(t,e){var n="",o={};if(t&&e)return void 0===e.left&&void 0===e.top||(n=(void 0===e.left?t.position().left:e.left)+"px, "+(void 0===e.top?t.position().top:e.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),void 0!==e.scaleX&&void 0!==e.scaleY?n+=" scale("+e.scaleX+", "+e.scaleY+")":void 0!==e.scaleX&&(n+=" scaleX("+e.scaleX+")"),n.length&&(o.transform=n),void 0!==e.opacity&&(o.opacity=e.opacity),void 0!==e.width&&(o.width=e.width),void 0!==e.height&&(o.height=e.height),t.css(o)},animate:function(t,e,o,i,a){var s,r=this;n.isFunction(o)&&(i=o,o=null),r.stop(t),s=r.getTranslate(t),t.on(f,function(c){(!c||!c.originalEvent||t.is(c.originalEvent.target)&&"z-index"!=c.originalEvent.propertyName)&&(r.stop(t),n.isNumeric(o)&&t.css("transition-duration",""),n.isPlainObject(e)?void 0!==e.scaleX&&void 0!==e.scaleY&&r.setTranslate(t,{top:e.top,left:e.left,width:s.width*e.scaleX,height:s.height*e.scaleY,scaleX:1,scaleY:1}):!0!==a&&t.removeClass(e),n.isFunction(i)&&i(c))}),n.isNumeric(o)&&t.css("transition-duration",o+"ms"),n.isPlainObject(e)?(void 0!==e.scaleX&&void 0!==e.scaleY&&(delete e.width,delete e.height,t.parent().hasClass("fancybox-slide--image")&&t.parent().addClass("fancybox-is-scaling")),n.fancybox.setTranslate(t,e)):t.addClass(e),t.data("timer",setTimeout(function(){t.trigger(f)},o+33))},stop:function(t,e){t&&t.length&&(clearTimeout(t.data("timer")),e&&t.trigger(f),t.off(f).css("transition-duration",""),t.parent().removeClass("fancybox-is-scaling"))}},n.fn.fancybox=function(t){var e;return t=t||{},e=t.selector||!1,e?n("body").off("click.fb-start",e).on("click.fb-start",e,{options:t},i):this.off("click.fb-start").on("click.fb-start",{items:this,options:t},i),this},r.on("click.fb-start","[data-fancybox]",i),r.on("click.fb-start","[data-fancybox-trigger]",function(t){n('[data-fancybox="'+n(this).attr("data-fancybox-trigger")+'"]').eq(n(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:n(this)})}),function(){var t=null;r.on("mousedown mouseup focus blur",".fancybox-button",function(e){switch(e.type){case"mousedown":t=n(this);break;case"mouseup":t=null;break;case"focusin":n(".fancybox-button").removeClass("fancybox-focus"),n(this).is(t)||n(this).is("[disabled]")||n(this).addClass("fancybox-focus");break;case"focusout":n(".fancybox-button").removeClass("fancybox-focus")}})}()}}(window,document,jQuery),function(t){"use strict";var e={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(t){return"//maps.google."+t[2]+"/?ll="+(t[9]?t[9]+"&z="+Math.floor(t[10])+(t[12]?t[12].replace(/^\//,"&"):""):t[12]+"").replace(/\?/,"&")+"&output="+(t[12]&&t[12].indexOf("layer=c")>0?”svembed”:”embed”)}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:”iframe”,url:function(t){return”//maps.google.”+t[2]+”/maps?q=”+t[5].replace(“query=”,”q=”).replace(“api=1″,””)+”&output=embed”}}},n=function(e,n,o){if(e)return o=o||””,”object”===t.type(o)&&(o=t.param(o,!0)),t.each(n,function(t,n){e=e.replace(“$”+t,n||””)}),o.length&&(e+=(e.indexOf(“?”)>0?”&”:”?”)+o),e};t(document).on(“objectNeedsType.fb”,function(o,i,a){var s,r,c,l,d,u,f,p=a.src||””,h=!1;s=t.extend(!0,{},e,a.opts.media),t.each(s,function(e,o){if(c=p.match(o.matcher)){if(h=o.type,f=e,u={},o.paramPlace&&c[o.paramPlace]){d=c[o.paramPlace],”?”==d[0]&&(d=d.substring(1)),d=d.split(“&”);for(var i=0;i ‘).appendTo(n.$refs.inner))},set:function(t){var n=this,o=n.instance,i=o.current;i&&(!0===t||i.opts.loop||o.currIndex ‘).appendTo(i.$refs.container.find(a).addBack().filter(a)),o.$grid.on(“click”,”a”,function(){i.jumpTo(e(this).attr(“data-index”))})),o.$list||(o.$list=e(‘ FacebookTwitterPinterest ‘}}),e(t).on(“click”,”[data-fancybox-share]”,function(){var t,o,i=e.fancybox.getInstance(),a=i.current||null;a&&(“function”===e.type(a.opts.share.url)&&(t=a.opts.share.url.apply(a,[i,a])),o=a.opts.share.tpl.replace(/\{\{media\}\}/g,”image”===a.type?encodeURIComponent(a.src):””).replace(/\{\{url\}\}/g,encodeURIComponent(t)).replace(/\{\{url_raw\}\}/g,n(t)).replace(/\{\{descr\}\}/g,i.$caption?encodeURIComponent(i.$caption.text()):””),e.fancybox.open({src:i.translate(i,o),type:”html”,opts:{touch:!1,animationEffect:!1,afterLoad:function(t,e){i.$refs.container.one(“beforeClose.fb”,function(){t.close(null,0)}),e.$content.find(“.fancybox-share__button”).click(function(){return window.open(this.href,”Share”,”width=550, height=450″),!1})},mobile:{autoFocus:!1}}}))})}(document,jQuery),function(t,e,n){“use strict”;function o(){var e=t.location.hash.substr(1),n=e.split(“-“),o=n.length>1&&/^\+?\d+$/.test(n[n.length-1])?parseInt(n.pop(-1),10)||1:1,i=n.join(“-“);return{hash:e,index:o<1?1:o,gallery:i}}function i(t){""!==t.gallery&&n("[data-fancybox='"+n.escapeSelector(t.gallery)+"']").eq(t.index-1).focus().trigger("click.fb-start")}function a(t){var e,n;return!!t&&(e=t.current?t.current.opts:t.opts,""!==(n=e.hash||(e.$orig?e.$orig.data("fancybox")||e.$orig.data("fancybox-trigger"):""))&&n)}n.escapeSelector||(n.escapeSelector=function(t){return(t+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t})}),n(function(){!1!==n.fancybox.defaults.hash&&(n(e).on({"onInit.fb":function(t,e){var n,i;!1!==e.group[e.currIndex].opts.hash&&(n=o(),(i=a(e))&&n.gallery&&i==n.gallery&&(e.currIndex=n.index-1))},"beforeShow.fb":function(n,o,i,s){var r;i&&!1!==i.opts.hash&&(r=a(o))&&(o.currentHash=r+(o.group.length>1?”-“+(i.index+1):””),t.location.hash!==”#”+o.currentHash&&(s&&!o.origHash&&(o.origHash=t.location.hash),o.hashTimer&&clearTimeout(o.hashTimer),o.hashTimer=setTimeout(function(){“replaceState”in t.history?(t.history[s?”pushState”:”replaceState”]({},e.title,t.location.pathname+t.location.search+”#”+o.currentHash),s&&(o.hasCreatedHistory=!0)):t.location.hash=o.currentHash,o.hashTimer=null},300)))},”beforeClose.fb”:function(n,o,i){i&&!1!==i.opts.hash&&(clearTimeout(o.hashTimer),o.currentHash&&o.hasCreatedHistory?t.history.back():o.currentHash&&(“replaceState”in t.history?t.history.replaceState({},e.title,t.location.pathname+t.location.search+(o.origHash||””)):t.location.hash=o.origHash),o.currentHash=null)}}),n(t).on(“hashchange.fb”,function(){var t=o(),e=null;n.each(n(“.fancybox-container”).get().reverse(),function(t,o){var i=n(o).data(“FancyBox”);if(i&&i.currentHash)return e=i,!1}),e?e.currentHash===t.gallery+”-“+t.index||1===t.index&&e.currentHash==t.gallery||(e.currentHash=null,e.close()):””!==t.gallery&&i(t)}),setTimeout(function(){n.fancybox.getInstance()||i(o())},50))})}(window,document,jQuery),function(t,e){“use strict”;var n=(new Date).getTime();e(t).on({“onInit.fb”:function(t,e,o){e.$refs.stage.on(“mousewheel DOMMouseScroll wheel MozMousePixelScroll”,function(t){var o=e.current,i=(new Date).getTime();e.group.length<2||!1===o.opts.wheel||"auto"===o.opts.wheel&&"image"!==o.type||(t.preventDefault(),t.stopPropagation(),o.$slide.hasClass("fancybox-animated")||(t=t.originalEvent||t,i-n<250||(n=i,e[(-t.deltaY||-t.deltaX||t.wheelDelta||-t.detail)<0?"next":"previous"]())))})}})}(document,jQuery);class contabeisLoad{static load(o){contabeisLoad.canRun=!0,o?o*=6e4:o=36e4,contabeisLoad.link=window.location.href,setTimeout(contabeisLoad.run,o)}static run(){1==contabeisLoad.canRun&&$.ajax({url:"https://www.contabeis.com.br/gravaAcessoPixel",context:document.body,error:function(o,a){return!1},success:function(){try{window.location.reload(!0)}catch(o){setTimeout(function(){window.location.href=contabeisLoad.link},1e3)}}})}static setPause(){contabeisLoad.canRun=!1}}
var scriptAdsCarregado=!1;$(window).load(function(){$.expr[':'].external=function(obj){if($(obj).parents(".texto").hasClass("publipost"))return!1;if($(obj).hasClass("link-parceiro"))return!1;var url=$(obj).attr("href");if(url==undefined)return!1;if(url=='#'||url==''||url.includes('javascript:'))return!1;try{var domain=(new URL(url));var hostname=domain.hostname;if(hostname.includes('.contabeis.com')||hostname.includes('conbcon.com'))return!1}catch(e){return!1}
return!obj.href.match(/^mailto\:/)&&(obj.hostname!=location.hostname)&&!obj.href.match(/^javascript\:/)&&!obj.href.match(/^$/)};$('a:external').attr('target','_blank').attr('rel','nofollow')});$(document).ready(function(){!function(t){t.fn._checkbox=function(){return this.each(function(){t(this).is(":checkbox")&&t(this).wrap('‘).before(““).change(function(){t(this).is(“:checked”)?t(this).parent().addClass(“ativo”):t(this).parent().removeClass(“ativo”)}).trigger(“change”)})},t.fn._radio=function(){return this.each(function(){t(this).is(“:radio”)&&(t(this).wrap(‘‘).before(““),t(this).change(function(){t(this).is(“:checked”)?(t(“[name=”+t(this).attr(“name”)+”]”).parent().removeClass(“ativo”),t(this).parent().addClass(“ativo”)):t(this).parent().removeClass(“ativo”)}).trigger(“change”))})}}(jQuery);$(“.menuPrincipal.linkDireto a[href=” .mascaraFlutuante .boxBuscaMenu”).toggleClass(‘searchOpen’)}});$(“a.redirect-link”).mousedown(function(event){event.preventDefault();obj=$(this);var title=$(obj).text();var url=$(obj).attr(“href”);try{var domain=(new URL(url));var hostname=domain.hostname;if(hostname.includes(‘.contabeis.com’)||hostname.includes(‘conbcon.com’)){return!0}}catch(e){return!1} “)});$(‘.submenu.submenuLogin .menuEstatico’).click(function(e){e.preventDefault();$(‘header nav li .submenu.submenuLogin’).hide();$(‘body .mascaraTela’).remove()});$(‘.submenu .menuEstatico .voltarSubmenu’).click(function(e){e.preventDefault();$(‘header nav li .submenu .blocoPrimeiroMenu li, header nav li.menuPrincipal’).removeClass(“ativo”)});$(‘#menuMobile’).click(function(e){$(‘body’).toggleClass(‘open’);$(this).toggleClass(‘open’);if($(‘body’).hasClass(“open”)){}else{$(‘header nav .submenu’).hide();$(‘header nav li’).removeClass(‘ativo’)}});$(‘._640 header nav li:not(.linkDireto) > a’).click(function(e){e.preventDefault();$(‘._640 header nav .submenu’).hide();if($(this).parents().hasClass(‘ativo’)){$(this).next().hide();$(this).parent().removeClass(‘ativo’)}else{$(this).next().show();$(‘header nav ul li’).removeClass(‘ativo’);$(this).parent().addClass(‘ativo’)}});$(‘ul.compartilhamento span[redeSocial]’).click(function(e){e.preventDefault();var titulo=$(this).parents(‘ul’).attr(‘titulo’);var url=$(this).parents(‘ul’).attr(‘href’);var tipo=$(this).attr(‘redeSocial’);compartilhamentoRedeSocial(tipo,url,titulo);return!1})});$(document).ready(function(){gravaAcesso();var observer=new IntersectionObserver(intersectionCallback,options);var adContainers=document.getElementsByClassName(‘ad-container’);for(var i=0;i ‘+’ ‘+’ ‘+arrayToast.pop_descricao+’ ‘+”,});firedToast=!0}});function resolucao(){var _htmlresolucao=document.querySelector(‘html’);if(window.innerWidth<=1100){_htmlresolucao.classList.add('_640')}else{_htmlresolucao.classList.remove('_640')}
if(window.innerWidth>1100){_htmlresolucao.classList.add(‘_1000’)}else{_htmlresolucao.classList.remove(‘_1000’)} ‘+texto+’ ‘);setTimeout(function(){$(‘.alertaGeral’).addClass(‘ativo’)},300);if(reload==1){if(url==”){setTimeout(function(){location.reload()},delayT)}else{setTimeout(function(){window.location.href=url},delayT)}}else{setTimeout(function(){$(‘.alertaGeral’).removeClass(‘ativo’).remove()},delayT)}}-1},create:function(e,t,n){var l=e.originalNode,d=e.id+”_”+t.prefix,u=l.autoplay,c=l.children,p=null,m=null;l.removeAttribute(“type”);for(var h=0,v=c.length;h“==o.key)for(var i=1;i
if(key==key1){proximoPlayer=!0}});$(“.audioRodando”).removeClass(“audioRodando”);$(“#”+key).parents(“article”).addClass(“audioRodando”)},!1)});$(function(){var iframe=document.querySelector(‘iframe’);striframe=$(iframe).attr(“src”);if(striframe!=undefined){if(striframe.indexOf(“w.soundcloud”)!=-1){var widget=SC.Widget(iframe);widget.bind(SC.Widget.Events.PLAY,function(eventData){contabeisLoad.setPause();dataLayer.push({‘event’:’media-play’,’eventCategory’:’SoundCloud’,’eventValue’:’sc’+eventData.soundId})})}}})});!function(t,e,n,o){“use strict”;function i(t,e){var o,i,a,s=[],r=0;t&&t.isDefaultPrevented()||(t.preventDefault(),e=e||{},t&&t.data&&(e=h(t.data.options,e)),o=e.$target||n(t.currentTarget).trigger(“blur”),(a=n.fancybox.getInstance())&&a.$trigger&&a.$trigger.is(o)||(e.selector?s=n(e.selector):(i=o.attr(“data-fancybox”)||””,i?(s=t.data?t.data.items:[],s=s.length?s.filter(‘[data-fancybox=”‘+i+'”]’):n(‘[data-fancybox=”‘+i+'”]’)):s=[o]),r=n(s).index(o),r<0&&(r=0),a=n.fancybox.open(s,e,r),a.$trigger=o))}if(t.console=t.console||{info:function(t){}},n){if(n.fn.fancybox)return void console.info("fancyBox already initialized");var a={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'‘,preload:!0,css:{},attr:{scrolling:”auto”}},video:{tpl:’‘,format:””,autoStart:!0},defaultType:”image”,animationEffect:”zoom”,animationDuration:366,zoomOpacity:”auto”,transitionEffect:”fade”,transitionDuration:366,slideClass:””,baseClass:””,baseTpl:’
Please try again later.”,PLAY_START:”Start slideshow”,PLAY_STOP:”Pause slideshow”,FULL_SCREEN:”Full screen”,THUMBS:”Thumbnails”,DOWNLOAD:”Download”,SHARE:”Share”,ZOOM:”Zoom”},de:{CLOSE:”Schließen”,NEXT:”Weiter”,PREV:”Zurück”,ERROR:”Die angeforderten Daten konnten nicht geladen werden.
Bitte versuchen Sie es später nochmal.”,PLAY_START:”Diaschau starten”,PLAY_STOP:”Diaschau beenden”,FULL_SCREEN:”Vollbild”,THUMBS:”Vorschaubilder”,DOWNLOAD:”Herunterladen”,SHARE:”Teilen”,ZOOM:”Vergrößern”}}},s=n(t),r=n(e),c=0,l=function(t){return t&&t.hasOwnProperty&&t instanceof n},d=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)}}(),u=function(){return t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||function(e){t.clearTimeout(e)}}(),f=function(){var t,n=e.createElement(“fakeelement”),o={transition:”transitionend”,OTransition:”oTransitionEnd”,MozTransition:”transitionend”,WebkitTransition:”webkitTransitionEnd”};for(t in o)if(void 0!==n.style[t])return o[t];return”transitionend”}(),p=function(t){return t&&t.length&&t[0].offsetHeight},h=function(t,e){var o=n.extend(!0,{},t,e);return n.each(e,function(t,e){n.isArray(e)&&(o[t]=e)}),o},g=function(t){var o,i;return!(!t||t.ownerDocument!==e)&&(n(“.fancybox-container”).css(“pointer-events”,”none”),o={x:t.getBoundingClientRect().left+t.offsetWidth/2,y:t.getBoundingClientRect().top+t.offsetHeight/2},i=e.elementFromPoint(o.x,o.y)===t,n(“.fancybox-container”).css(“pointer-events”,””),i)},b=function(t,e,o){var i=this;i.opts=h({index:o},n.fancybox.defaults),n.isPlainObject(e)&&(i.opts=h(i.opts,e)),n.fancybox.isMobile&&(i.opts=h(i.opts,i.opts.mobile)),i.id=i.opts.id||++c,i.currIndex=parseInt(i.opts.index,10)||0,i.prevIndex=null,i.prevPos=null,i.currPos=0,i.firstRun=!0,i.group=[],i.slides={},i.addContent(t),i.group.length&&i.init()};n.extend(b.prototype,{init:function(){var o,i,a=this,s=a.group[a.currIndex],r=s.opts;r.closeExisting&&n.fancybox.close(!0),n(“body”).addClass(“fancybox-active”),!n.fancybox.getInstance()&&!1!==r.hideScrollbar&&!n.fancybox.isMobile&&e.body.scrollHeight>t.innerHeight&&(n(“head”).append(‘{{SHARE}}
var novaUrl=”redirect?url=”+encodeURIComponent($(obj).attr(“href”))+’&title=”+encodeURIComponent(title);switch(event.which){case 1:window.open(novaUrl,”_blank’);break;case 2:window.open(novaUrl,’_blank’);break;case 3:$(obj).attr(“href”,novaUrl);break;default:$(obj).attr(“href”,novaUrl)}});const observer=new IntersectionObserver((entries,observer)=>{entries.forEach(entry=>{if(entry.isIntersecting){let elem=entry.target;let banner=elem.getAttribute(‘data-banner’);console.log(banner);$.ajax({url:’gravaAcesso’,type:’POST’,data:{id:banner,tipo:’banner’},success:function(retorno){}});observer.unobserve(entry.target)}})});const elementsToObserve=document.querySelectorAll(‘.bannerContabeis’);elementsToObserve.forEach(element=>observer.observe(element));if($(“#recaptchaResponse”).length){$.getScript(”
$(“span.fecharBannerMobile”).click(function(){var div=$(this).parent();div.toggleClass(“fechado”);if(div.hasClass(“fechado”)){$(“span.fecharBannerMobile”).text(‘^’)}else{$(“span.fecharBannerMobile”).text(‘x’)}});$(‘input:checkbox’).not(“.newsletter_section”)._checkbox();$(‘input:radio’).not(“.newsletter_section”)._radio();$(“.submenuLogin .botaoEntrar”).click(function(){LogandoUsuario()});$(‘.submenuLogin input[placeholder]’).keyup(function(e){if(e.which==13){LogandoUsuario()}});$(‘.blocoPrimeiroMenu li a#sairMenu’).click(function(){$.post(“logout”,function(data){location.reload()})});if($(‘.avisoCookie’).length){$(‘.avisoCookie span.aceitar’).click(function(){$(‘.avisoCookie’).addClass(“fechado”)})}
$(‘header nav li .submenu.submenuConteudo .blocoPrimeiroMenu > li, header nav li .submenu.submenuLogado .blocoPrimeiroMenu > li’).hover(function(){if($(‘header nav li .submenu.submenuConteudo .blocoPrimeiroMenu li, header nav li .submenu.submenuLogado .blocoPrimeiroMenu li’).hasClass(“ativo”)){$(this).siblings().removeClass(“ativo”)}});$(“header nav li:nth-child(2)”).mouseleave(function(){if(!$(‘header nav li .submenu.submenuConteudo .blocoPrimeiroMenu > li’).hasClass(“ativo”)){$(‘header nav li .submenu.submenuConteudo .blocoPrimeiroMenu li:first-of-type’).addClass(“ativo”)}});$(“header nav li.logado”).mouseleave(function(){if(!$(‘header nav li .submenu.submenuLogado .blocoPrimeiroMenu > li’).hasClass(“ativo”)){$(‘header nav li .submenu.submenuLogado .blocoPrimeiroMenu li:first-of-type’).addClass(“ativo”)}});$(‘[href=#login]’).click(function(e){e.preventDefault();$(‘header nav li .submenu.submenuLogin’).show();$(‘._1000 body, ._1280 body’).prepend(“
if(!firedToast){if(getCookie(“contabeistoast”)==1){firedToast=!0;return!1}
if(arrayToast.hasOwnProperty(‘pop_titulo’))
pushonpage({imageUrl:arrayToast.pop_imagem,imageWidth:150,imageHeight:78,imageAlt:arrayToast.pop_titulo,id:arrayToast.pop_id,html:”+’‘+arrayToast.pop_chamada+’
‘+arrayToast.pop_titulo+’
var _barracor=document.querySelector(‘.barraCor’);if(_barracor!=undefined){if(window.innerWidth>1700){_barracor.style.width=”80%”}else{_barracor.style.width=”100%”}}}
resolucao();function gravaAcesso(){$(“[gravaacesso=1]”).each(function(){_gravaAcesso=$(this);var verificaAcesso=_gravaAcesso.length;if(verificaAcesso==1){var id=_gravaAcesso.attr(“id”);var tipo=_gravaAcesso.attr(“tipo”);var user=_gravaAcesso.attr(“user”);$.ajax({url:’gravaAcesso’,type:’POST’,data:{id:id,tipo:tipo,user:user},success:function(retorno){}})}})}
function LogandoUsuario(){if($(‘.boxMenu .botaoEntrar’).hasClass(‘disable’)){return!1}
if(!validateEmail($(“.boxMenu input.email”).val())||$(“.boxMenu input.email”).val()==”){abreAlerta(“Login”,”Preencha seu e-mail e senha”,’alerta’,0,5000);return!1}
$(‘.boxMenu .botaoEntrar’).text(‘…’).addClass(“disable”);grecaptcha.ready(function(){grecaptcha.execute(‘6LfL35YUAAAAADXgsYzCc24ZSugiboKzhncT8bO0′,{action:’login’}).then(function(token){$.post(“login”,{email:$(“.boxMenu input.email”).val(),senha:$(“.boxMenu input.senha”).val(),lembra:$(“.boxMenu input[name=loginlembrar]”).is(‘:checked’),recaptcha_response:token},function(data){var obj=JSON.parse(data);if(obj.codigo==0||obj.codigo==1){abreAlerta(“Login”,obj.descricao,’sucesso’,1,3000)}else{$(‘.boxMenu .botaoEntrar’).text(‘ENTRAR’).removeClass(“disable”);abreAlerta(“Login”,obj.descricao,’erro’,0,5000)}})})})}
function abreAlerta(titulo,texto,status,reload=0,delayT=2000,botao=0,botaoTexto=”,url=””){switch(status){case ‘sucesso’:var cor=”#598d2f”;var icone=”icon-checkSimplescontabeis”;break;case ‘alerta’:var cor=”#c45b1c”;var icone=”icon-notificacaocontabeis”;break;case ‘erro’:var cor=”#9c1313″;var icone=”icon-deletarcontabeis”;break}
$(‘body’).append(‘‘+titulo+’
function compartilhamentoRedeSocial(tipoRedeSocial,url,titulo){switch(tipoRedeSocial){case ‘facebook’:var urlMontada=” ‘twitter’:var urlMontada=” – “+url;break;case ‘linkedin’:var urlMontada=” ‘whatsapp’:var urlMontada=”whatsapp://send?text=”+titulo+” – “+url;break;default:}
window.open(urlMontada,’_blank’,’toolbar=no, location=no, directories=no, status=no, scrollbars=no, resizable=no, width=600, height=300, top=200, left=450′)}
function validateEmail(email){var re=/\S+@\S+\.\S+/;return re.test(email)}
function shuffleArray(array){for(let i=array.length-1;i>0;i–){const j=Math.floor(Math.random()*(i+1));[array[i],array[j]]=[array[j],array[i]]}}
if(window.location.hash&&window.location.hash==’#_=_’){window.location.hash=””}
!function(t){var e=function(e){this._options={checkOnLoad:!1,resetOnEnd:!1,loopCheckTime:50,loopMaxNumber:5,baitClass:”pub_300x250 pub_300x250m pub_728x90 text-ad textAd text_ad text_ads text-ads text-ad-links”,baitStyle:”width: 1px !important; height: 1px !important; position: absolute !important; left: -10000px !important; top: -1000px !important;”,debug:!1},this._var={version:”3.2.1″,bait:null,checking:!1,loop:null,loopNumber:0,event:{detected:[],notDetected:[]}},void 0!==e&&this.setOption(e);var o=this,i=function(){setTimeout(function(){!0===o._options.checkOnLoad&&(!0===o._options.debug&&o._log(“onload->eventCallback”,”A check loading is launched”),null===o._var.bait&&o._creatBait(),setTimeout(function(){o.check()},1))},1)};void 0!==t.addEventListener?t.addEventListener(“load”,i,!1):t.attachEvent(“onload”,i)};e.prototype._options=null,e.prototype._var=null,e.prototype._bait=null,e.prototype._log=function(t,e){console.log(“[BlockAdBlock][“+t+”] “+e)},e.prototype.setOption=function(t,e){if(void 0!==e){var o=t;(t={})[o]=e}for(var i in t)this._options[i]=t[i],!0===this._options.debug&&this._log(“setOption”,’The option “‘+i+'” he was assigned to “‘+t[i]+'”‘);return this},e.prototype._creatBait=function(){var e=document.createElement(“div”);e.setAttribute(“class”,this._options.baitClass),e.setAttribute(“style”,this._options.baitStyle),this._var.bait=t.document.body.appendChild(e),this._var.bait.offsetParent,this._var.bait.offsetHeight,this._var.bait.offsetLeft,this._var.bait.offsetTop,this._var.bait.offsetWidth,this._var.bait.clientHeight,this._var.bait.clientWidth,!0===this._options.debug&&this._log(“_creatBait”,”Bait has been created”)},e.prototype._destroyBait=function(){t.document.body.removeChild(this._var.bait),this._var.bait=null,!0===this._options.debug&&this._log(“_destroyBait”,”Bait has been removed”)},e.prototype.check=function(t){if(void 0===t&&(t=!0),!0===this._options.debug&&this._log(“check”,”An audit was requested “+(!0===t?”with a”:”without”)+” loop”),!0===this._var.checking)return!0===this._options.debug&&this._log(“check”,”A check was canceled because there is already an ongoing”),!1;this._var.checking=!0,null===this._var.bait&&this._creatBait();var e=this;return this._var.loopNumber=0,!0===t&&(this._var.loop=setInterval(function(){e._checkBait(t)},this._options.loopCheckTime)),setTimeout(function(){e._checkBait(t)},1),!0===this._options.debug&&this._log(“check”,”A check is in progress …”),!0},e.prototype._checkBait=function(e){var o=!1;if(null===this._var.bait&&this._creatBait(),null===t.document.body.getAttribute(“abp”)&&null!==this._var.bait.offsetParent&&0!=this._var.bait.offsetHeight&&0!=this._var.bait.offsetLeft&&0!=this._var.bait.offsetTop&&0!=this._var.bait.offsetWidth&&0!=this._var.bait.clientHeight&&0!=this._var.bait.clientWidth||(o=!0),void 0!==t.getComputedStyle){var i=t.getComputedStyle(this._var.bait,null);!i||”none”!=i.getPropertyValue(“display”)&&”hidden”!=i.getPropertyValue(“visibility”)||(o=!0)}!0===this._options.debug&&this._log(“_checkBait”,”A check (“+(this._var.loopNumber+1)+”/”+this._options.loopMaxNumber+” ~”+(1+this._var.loopNumber*this._options.loopCheckTime)+”ms) was conducted and detection is “+(!0===o?”positive”:”negative”)),!0===e&&(this._var.loopNumber++,this._var.loopNumber>=this._options.loopMaxNumber&&this._stopLoop()),!0===o?(this._stopLoop(),this._destroyBait(),this.emitEvent(!0),!0===e&&(this._var.checking=!1)):null!==this._var.loop&&!1!==e||(this._destroyBait(),this.emitEvent(!1),!0===e&&(this._var.checking=!1))},e.prototype._stopLoop=function(t){clearInterval(this._var.loop),this._var.loop=null,this._var.loopNumber=0,!0===this._options.debug&&this._log(“_stopLoop”,”A loop has been stopped”)},e.prototype.emitEvent=function(t){!0===this._options.debug&&this._log(“emitEvent”,”An event with a “+(!0===t?”positive”:”negative”)+” detection was called”);var e=this._var.event[!0===t?”detected”:”notDetected”];for(var o in e)!0===this._options.debug&&this._log(“emitEvent”,”Call function “+(parseInt(o)+1)+”/”+e.length),e.hasOwnProperty(o)&&e[o]();return!0===this._options.resetOnEnd&&this.clearEvent(),this},e.prototype.clearEvent=function(){this._var.event.detected=[],this._var.event.notDetected=[],!0===this._options.debug&&this._log(“clearEvent”,”The event list has been cleared”)},e.prototype.on=function(t,e){return this._var.event[!0===t?”detected”:”notDetected”].push(e),!0===this._options.debug&&this._log(“on”,’A type of event “‘+(!0===t?”detected”:”notDetected”)+'” was added’),this},e.prototype.onDetected=function(t){return this.on(!0,t)},e.prototype.onNotDetected=function(t){return this.on(!1,t)},t.BlockAdBlock=e,void 0===t.blockAdBlock&&(t.blockAdBlock=new e({checkOnLoad:!0,resetOnEnd:!0}))}(window);function isPrivate(t){t||(t=function(){});var n=window.RequestFileSystem||window.webkitRequestFileSystem;if(n)return n(window.TEMPORARY,1,t.bind(this,!1),t.bind(this,!0));if(window.indexedDB&&/Firefox/.test(window.navigator.userAgent))try{var e=window.indexedDB.open(“test”),i=0,r=limit=10,u=function(n){return i>=limit?t(!0):window.setTimeout(n,++i*r)},d=function(){return”done”===e.readyState?t(!e.result):u(d)};return u(d)}catch(n){return t(!0)}if(window.navigator.userAgent.match(/(MSIE|Trident|Edge)/))try{return t(!window.indexedDB)}catch(n){return t(!0)}try{return window.openDatabase(null,null,null,null),t(!1)}catch(n){return t(!0)}}
function shuffleArray(o){for(let t=o.length-1;t>0;t–){const f=Math.floor(Math.random()*(t+1));[o[t],o[f]]=[o[f],o[t]]}}
const elementIsVisibleInViewport=(el,partiallyVisible=!1)=>{const{top,left,bottom,right}=el.getBoundingClientRect();const{innerHeight,innerWidth}=window;return partiallyVisible?((top>0&&top
tg.setAttribute(“data-ad”,”true”);sz=sz.replace(/\[|\]/g,””).split(“,”);for(var j=0;j
class contBanner{static start(){contBanner.obj1=JSON.parse(‘[{“height”:250,”img”:”assets\\/img\\/contabeisp\\/campanhas\\/podcast970x250.png”,”link”:”https:\\/\\/www.contabeis.com.br\\/conteudo\\/podcasts”,”tamanho”:”[970,250]”,”target”:”_blank”,”width”:970},{“height”:600,”img”:”assets\\/img\\/contabeisp\\/campanhas\\/podcast300x600.png”,”link”:”https:\\/\\/www.contabeis.com.br\\/conteudo\\/podcasts”,”tamanho”:”[300,600]”,”target”:”_blank”,”width”:300},{“height”:250,”img”:”assets\\/img\\/contabeisp\\/campanhas\\/podcast300x250.png”,”link”:”https:\\/\\/www.contabeis.com.br\\/conteudo\\/podcasts”,”tamanho”:”[300,250]”,”target”:”_blank”,”width”:300},{“height”:90,”img”:”assets\\/img\\/contabeisp\\/campanhas\\/podcast728x90.png”,”link”:”https:\\/\\/www.contabeis.com.br\\/conteudo\\/podcasts”,”tamanho”:”[728,90]”,”target”:”_blank”,”width”:728},{“height”:50,”img”:”assets\\/img\\/contabeisp\\/campanhas\\/podcast320x50.png”,”link”:”https:\\/\\/www.contabeis.com.br\\/conteudo\\/podcasts”,”tamanho”:”[320,50]”,”target”:”_blank”,”width”:320}]’);contBanner.obj={};shuffleArray(contBanner.obj1);Object.entries(contBanner.obj1).forEach(([key,value])=>{contBanner.obj[value.tamanho]=value});contBanner.banners={};contBanner.bannerAlternativo=!1;contBanner.check();contBanner.viewOBR=!1}
static check(){isPrivate(function(isPrivate){if(isPrivate){contBanner.bannerAlternativo=!0}else{blockAdBlock=new BlockAdBlock({checkOnLoad:!0,resetOnEnd:!0});contBanner.pronto=!0;if(typeof blockAdBlock===’undefined’){adBlockDetected()}else{blockAdBlock.onDetected(function(){contBanner.bannerAlternativo=!0;var cn=document.getElementsByClassName(“dynamicAdR7”);for(var i=0;i
toast.addEventListener(‘mouseleave’,Swal.resumeTimer)},didClose:()=>{setCookie(‘contabeistoast’,1,0,’/’)}});Toast.fire(atributo)},function(){$.ajax({url:’gravaAcesso’,type:’POST’,data:{id:atributo.id,tipo:’pop’},success:function(retorno){}})})}
function addScriptToPage(callback,callback2){let scriptLink=”sweetalert2.all.min.js”;const scripts=document.getElementsByTagName(‘script’);for(let i=0;i
Veja a matéria original no R7
Veja mais em