   var expose,lib={},auxScripts={},instances={},gevent={stack:[],on:function(e,t,n){this.stack.push([e,t,!!n])},emit:function(e,t){for(var n,o=this.stack.length;o--;)(n=this.stack[o])[0]===e&&(n[1](t),n[2]&&this.stack.splice(o,1))}},slice=Array.prototype.slice,_needRender=!1,CACHE={status:{NEW_REQUEST:0,LOADING:1,LOADED:2},callbackLength:0};function def(e,t,n){_needRender=!0,n=t&&t.constructor==Array?n:t,t=t&&t.constructor==Array?t:[],function(){if(n&&(expose={},n.apply(null,t.map(function(e){return lib[e]}))),"init"in expose){function o(){for(var e in o.prototype)(o.prototype[e]||{}).constructor==Array&&(this[e]=o.prototype[e].slice(0));def.init(this,o,slice.call(arguments,0))}for(var i in o.prototype=expose,def.prototype)void 0===o.prototype[i]&&(o.prototype[i]=def.prototype[i]);for(var r in o.selector="selector"in expose?expose.selector:"."+e,o.template="template"in expose&&expose.template,o.inherit=expose.inherit||[],o.include=expose.include||[],o.mode="normal",o.klass=e,o.ready=!1,t&&t.constructor==Array&&(o.include=o.include.concat(t)),def.mode){var a=o.include.indexOf(r);-1!=a&&(o.mode=r,"include"in def.mode[r]?o.include[a]=def.mode[r].include:o.include.splice(a,1))}lib[e]=o,instances[e]=[],!0===expose.autoinit&&instances[e].push(new lib[e])}else Object.keys(expose).length&&(expose.inherit=expose.inherit||[],expose.include=expose.include||[],expose.ready=!0,lib[e]=expose,events.emit("lib["+e+"].ready",lib[e],lib[e]));expose={}}()}def.init=function(e,t,n,o){todo(function(e){t.inherit.length?load(t.inherit,e,function(e,n){var o=t.prototype||t,i=n.prototype||n;for(var r in i)void 0===o[r]&&(o[r]=i[r])},!0):e()},function(e){t.include.length?load(t.include,e,function(e,n){(t.prototype||t)[e]=n},!0):e()},function(e){if(t.template){if(-1==t.template.indexOf("\n"))try{var n=document.querySelector(t.template);n&&(t.prototype.template=n.innerHTML,t.template="",e())}catch(e){}if(t.template.match(/^(https?:)?\/+[a-z0-9]|\..{2,4}$/)){var o=new XMLHttpRequest;o.open("GET",t.template),o.onload=function(){t.prototype.template=o.responseText,t.template="",e()},o.send()}else t.prototype.template=t.template,t.template="",e()}else e()},function(){!1!==n&&(t.selector&&(e.dom=n.shift()),"function"==typeof e.init&&def.mode[t.mode||"normal"].init(e,n),instances[t.klass]&&instances[t.klass].push(e),n[0]&&def.done()),t.ready=!0,events.emit("lib["+t.klass+"].ready",lib[t.klass],lib[t.klass]),gevent.emit(t.klass+".init",[e]),"function"==typeof o&&o()})},def.mode={},def.mode.normal={init:function(e,t){e.init.apply(e,t)}},def.mode.angular={include:System.media.js+"&tpl=/src/angular/angular.min",module:function(){return angular},init:function(e,t){var n=function(){window.angular?(e.angular=window.angular,e.init.apply(e,t)):setTimeout(n,300)};n()}},def.prototype={requestJsonp:function(e,t){if(e){if((t=t||{}).data=t.data||{},t.component=t.component||"general",t.callbackFn=(t.jsonpCallback||"expose_callback")+"_"+CACHE.callbackLength,CACHE[t.component]=CACHE[t.component]||{},CACHE[t.component][e]=CACHE[t.component][e]||{status:CACHE.status.NEW_REQUEST,listeners:[]},CACHE[t.component][e].status==CACHE.status.LOADED)return t.callback({response:CACHE[t.component][e].response,data:t.data});CACHE[t.component][e].listeners.push(t.callback),CACHE[t.component][e].status!=CACHE.status.LOADING&&(CACHE[t.component][e].status=CACHE.status.LOADING,CACHE.callbackLength++,window[t.callbackFn]=function(n){var o;for(window[t.callbackFn]=void 0,CACHE[t.component][e].response=n,CACHE[t.component][e].listeners.reverse(),CACHE[t.component][e].status=CACHE.status.LOADED;o=CACHE[t.component][e].listeners.pop();)o({response:n,data:t.data})},$.ajax({cache:!0,url:e,dataType:"jsonp",jsonp:t.jsonpCallback||"callback",jsonpCallback:t.callbackFn}))}},mount:function(){this.dom.innerHTML=Mustache.to_html(this.template,this.data||this)},parse:function(e,t){try{return JSON.parse(e)||t}catch(e){}return t},getjson:function(e,t,n,o){var i=this;"string"!=typeof e&&(e="?"+$.param(e)),System.hasOwnProperty("configpath")&&(e+=(-1!=e.indexOf("?")?"&":"?")+"configpath="+System.configpath),Config.hasOwnProperty("abTest")&&(e+=(-1!=e.indexOf("?")?"&":"?")+"abTest="+Config.abTest.join(","));var r={url:e};if(o||(r.data="json"),"emit"in this&&this.emit("getjson"),t){function a(){t.apply(this,arguments),setTimeout(render,10),"emit"in this&&this.emit("getjson:end")}r.success=function(e){var t=arguments;if(e.components){var n=lib.components.getComponentsCache(e.components,e.cache);lib.components.loadAssets(e.assets,function(){a.apply(i,t)},n)}else a.apply(i,t)}}return n&&(r.error=function(){n.apply(i,arguments),"emit"in i&&i.emit("getjson:end")}),$.ajax(r)},getModal:function(){for(var e=this.dom;e&&e.className;){if(-1!=e.className.indexOf("modal-wrapper")){for(var t=instances.modal.length;t--;)if(instances.modal[t].dom===e)return instances.modal[t];break}e=e.parentNode}return!1},when:function(e,t,n){(instances[e]||[]).length?t.apply(null,instances[e]):gevent.on(e+".init",function(e){t.apply(null,e)},!!n)},classOf:function(e,t){var n=function(){var t=window.lib[e];return t.__esModule?t.default:t};lib.hasOwnProperty(e)?t(n()):(gevent.on(e+".load",function(){t(n())},!0),UOLoader([{id:e,path:e}]))}};var events={};function inherit(){expose.inherit=(expose.inherit||[]).concat(slice.call(arguments))}function include(){expose.include=(expose.include||[]).concat(slice.call(arguments))}function render(){var e=[];for(name in lib)if(lib[name].__esModule)Array.prototype.push.apply(e,window.uolbpack.renderize(name,lib[name]));else for(var t=lib[name].selector?document.querySelectorAll(lib[name].selector.replace(/([.#]+).*?([^\/]+)$/,"$1$2")):[],n=0;n<t.length;++n)"true"!=t[n].getAttribute("initiated")&&(t[n].setAttribute("initiated","true"),e.push(new lib[name](t[n],n+1==t.length)));return e.length||def.done(),_needRender=!1,"function"==typeof crazyloadinit&&crazyloadinit(),e}function ready(e){def.done.queue.push(e)}function load(e,t,n,o){var i=e[0];load[-1!=i.indexOf("css")?"css":"js"].call(this,i,function(i,r){n&&n.call(this,i,r),e.shift(),e.length?load.call(this,e,t,n,o):t&&t.call(this)},o)}function todo(){var e=slice.call(arguments),t=this;e.shift().call(t,function(){e.length&&todo.apply(t,e)})}function clone(e){if(null==e||"object"!=typeof e)return e;var t=e.constructor();for(var n in e)e.hasOwnProperty(n)&&(t[n]=clone(e[n]));return t}events.events=[],events.running=[],events.push=function(e,t,n){return this.events.push([e,t,n])-1},events.emit=function(e,t,n){for(var o,i,r=0;r<this.events.length;r++)if(e==(o=this.events[r])[0]&&(!t||t===o[1])){var a=n instanceof Array?n:[n];(i=o[2].apply(o[1],a))&&(i.scope=o[1],i.event=e,function(e){"timeout"in e?(e.id=setTimeout(function(){e.call.call(e.scope),e.cancel()},e.timeout),e.cancel=function(){e.id&&(e.id=clearTimeout(e.id));for(var t=events.running.length;t--&&events.running[t]!==e;);-1!=t&&events.running.splice(t,1)}):"interval"in e&&(e.id=setInterval(function(){e.call.call(e.scope)},e.interval),e.cancel=function(){e.id=clearInterval(e.id);for(var t=events.running.length;t--&&events.running[t]!==e;);-1!=t&&events.running.splice(t,1)}),events.running.push(e)}(i))}},events.revoke=function(e,t){for(var n,o=events.running.length;o--;)e!=(n=events.running[o]).event||t&&t!==n.scope||n.cancel()},events.off=function(e,t){this.events=this.events.reduce(function(n,o){return o[0]!=e||t&&t!==o[1]||n.push(o),n},[])},def.prototype.on=function(e,t,n){if(n){var o=this;window===t?window.addEventListener(e,function(e){n.call(o,e)}):$(this.dom).on(e,t,function(e){n.call(o,e,this)})}else events.push(e,this,t)},def.prototype.off=function(e,t){t?$(t,this.dom).off(e):events.off(e,this)},def.prototype.trigger=function(e,t){"string"==typeof t||t instanceof jQuery?$(t,this.dom).trigger(e):this.emit(e,t)},def.prototype.emit=function(e,t){events.emit(e,this,t)},def.prototype.revoke=function(e){events.revoke(e,this)},def.prototype.transmit=function(e,t){events.emit(e,null,t)},instances.$apply=function(e,t,n){return e in instances&&instances[e].length&&"function"==typeof instances[e][0][t]?instances[e][0][t].apply(instances[e][0],n):void 0},def.done=function(){for(var e;e=def.done.queue.shift();)"function"==typeof e&&e()},def.done.queue=[],load.js=function(e,t,n){var o,i="",r=this;if(-1==e.indexOf("//")?("/"!=e.charAt(0)?o=e:i=-1==(o=e.substr(e.lastIndexOf("/")+1)).indexOf(".js")?".js":"",-1==e.indexOf(System.media.js)&&(e=System.media.js+"&tpl="+e)):(o=e.match(/([^\/?#]+)(?:\?|#|$)/)[1].replace("min.js","js"),null===e.match(/\.js|\?/)&&(i=-1==o.indexOf(".js")?".js":"")),o in lib)return!0===lib[o].ready?t.call(this,o,lib[o]):events.push("lib["+o+"].ready",lib[o],function(){t.call(r,o,lib[o])});var a=document.getElementsByTagName("head")[0]||document.documentElement,s=document.getElementsByTagName("base")[0],c=document.createElement("script"),l=function(){Object.keys(expose).length&&def(o),n&&o in lib?def.init(lib[o],lib[o],!1,function(){t&&t.call(r,o,lib[o])}):t&&t.call(r,o,lib[o])};switch(expose={},auxScripts[e]=auxScripts[e]||{},auxScripts[e].status){case"loading":events.push("loadjs["+e+"]",auxScripts[e],l);break;case"loaded":l();break;default:auxScripts[e].status="loading",auxScripts[e].node=c,c.crossOrigin="anonymous",c.type="text/javascript",c.async=!0,events.push("loadjs["+e+"]",auxScripts[e],l),c.onload=c.onreadystatechange=function(){c.readyState&&!/loaded|complete/.test(c.readyState)||(c.onload=c.onreadystatechange=null,c.parentNode&&c.parentNode.removeChild(c),auxScripts[e].status="loaded",events.emit("loadjs["+e+"]",auxScripts[e],null))},c.src=e+i,c.src+=(-1!=c.src.indexOf("?")?"&":"?")+"cache="+Config.cache,s?a.insertBefore(c,s):a.appendChild(c)}},load.css=function(e,t){if((document.querySelectorAll('link[href="'+e+'"]')||[]).length)t&&t.call(s,e);else{var n=navigator.userAgent,o=/CriOS|Chrome/.test(n),i=/Mozilla\/5.0/.test(n)&&/Android/.test(n)&&/AppleWebKit/.test(n)&&!o,r=document.getElementsByTagName("head")[0]||document.documentElement,a=document.createElement("link"),s=this;a.rel="stylesheet",a.crossOrigin="anonymous";var c=e;c.match(/[?&](cache|hash|[v_])=/)||(c+=(-1==c.indexOf("?")?"?":"&")+"cache="+Config.cache),a.href=c,!i&&"onload"in a?a.onload=function(){t&&t.call(s,e)}:setTimeout(function(){t&&t.call(s,e)},100),r.insertBefore(a,r.querySelector('link[href*="tpl=chunk-color"]')||r.lastChild.nextSibling)}},function(){var e=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,50)},t=function(){1==_needRender&&render(),e(t)};e(t)}(),def("breakpoints",function(){var e=[["xs",0],["sm",768],["md",992],["lg",1230]];function t(){for(var t=window.innerWidth,n=0;n<e.length&&!(e[n][1]>t);n++);return{min:e[--n][1],max:e[n+(n==e.length-1?0:1)][1],name:e[n][0]}}expose.checkin=function(e,t){return e==this.breakpoint.name||(e=this.options()[e])&&(t||e[0]>=this.breakpoint.min)&&e[1]<=this.breakpoint.max},expose.options=function(){return e.reduce(function(t,n,o){return t[n[0]]=[n[1],(e[o+1]||[])[1]||9999],t},{})},expose.sortOptions=function(e,t,n){for(var o=[],i=this.options(),r=0;r<e.length;r++){var a=e[r].split("-");1==a.length?i[a[0]]&&o.push(i[a[0]].concat(r)):o.push([parseInt(a[0]),parseInt(a[1]),r])}o.sort(function(e,t){return 100*(t[1]-e[1])+t[0]-e[0]});var s=[];for(r=0;r<o.length;r++)s.push(e[o[r][2]]);if(t){for(var c=0;c<s.length&&!this.checkin(s[c],n||!0);c++);return s[c]}return s},expose.change=function(e,t){this.on("breakpointChange",e,t)},expose.queue={},expose.on=function(e,t,n){e in this.queue||(this.queue[e]=[]),this.queue[e].push([t,n])},expose.trigger=function(e){if(e in this.queue)for(var t=0;t<this.queue[e].length;t++)this.queue[e][t][1].call(this.queue[e][t][0])},window.addEventListener("resize",function(){var e=lib.breakpoints.breakpoint;lib.breakpoints.breakpoint=t(),""!=e.name&&e.name!=lib.breakpoints.breakpoint.name&&lib.breakpoints.trigger("breakpointChange")}),expose.breakpoint=t()}),window.links_hash=[],[].forEach.call(document.querySelectorAll('link[rel="stylesheet"]'),function(e){/tpl=([^&]+)/.test(e.href)&&window.links_hash.push(e.href.match(/tpl=([^&]+)/)[1])}),def("components",["breakpoints"],function(e){function t(e,t){for(var n=[],o=document.querySelectorAll(e,t),i=0;i<o.length;i++){var r=o[i].getAttribute(t);r.indexOf("tpl=")>0&&(n=n.concat(r.split("tpl=")[1].split("&")[0].split(",")))}return n}function n(e){var t=System.map.css[e];return(!t||-1==window.links_hash.indexOf(t))&&(window.links_hash.push(t),t)}function o(){var t=document.querySelectorAll('.lazy-component[detected="false"]');[].forEach.call(t,function(t,n){var o={sm:1.5*window.innerHeight,xs:1.5*window.innerHeight,md:1.5*window.innerHeight,lg:1.5*window.innerHeight},i=(t.getBoundingClientRect(),$(t).offset().top-($(window).scrollTop()+o[e.breakpoint.name]||500)),r=window.innerHeight-i,a=i+$(t).height();(r>=0&&a>=0||a<0)&&function(t){var n=t.getAttribute("cp-data"),o=t.getAttribute("cp-name"),i=t.getAttribute("cp-area"),r="true"==t.getAttribute("cp-shell"),a=t.getAttribute("config-name");e.breakpoint.name,JSON.parse(i),t.setAttribute("detected","true");var s=(t.offsetHeight>70?70:t.offsetHeight)+"px";t.innerHTML='<svg width="'+s+'" height="'+s+'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" class="loading uil-ring"><rect x="0" y="0" width="100" height="100" fill="none" class="bk"></rect><defs><filter id="uil-ring-shadow" x="-100%" y="-100%" width="300%" height="300%"><feOffset result="offOut" in="SourceGraphic" dx="0" dy="0"></feOffset><feGaussianBlur result="blurOut" in="offOut" stdDeviation="0"></feGaussianBlur><feBlend in="SourceGraphic" in2="blurOut" mode="normal"></feBlend></filter></defs><path d="M10,50c0,0,0,0.5,0.1,1.4c0,0.5,0.1,1,0.2,1.7c0,0.3,0.1,0.7,0.1,1.1c0.1,0.4,0.1,0.8,0.2,1.2c0.2,0.8,0.3,1.8,0.5,2.8 c0.3,1,0.6,2.1,0.9,3.2c0.3,1.1,0.9,2.3,1.4,3.5c0.5,1.2,1.2,2.4,1.8,3.7c0.3,0.6,0.8,1.2,1.2,1.9c0.4,0.6,0.8,1.3,1.3,1.9 c1,1.2,1.9,2.6,3.1,3.7c2.2,2.5,5,4.7,7.9,6.7c3,2,6.5,3.4,10.1,4.6c3.6,1.1,7.5,1.5,11.2,1.6c4-0.1,7.7-0.6,11.3-1.6 c3.6-1.2,7-2.6,10-4.6c3-2,5.8-4.2,7.9-6.7c1.2-1.2,2.1-2.5,3.1-3.7c0.5-0.6,0.9-1.3,1.3-1.9c0.4-0.6,0.8-1.3,1.2-1.9 c0.6-1.3,1.3-2.5,1.8-3.7c0.5-1.2,1-2.4,1.4-3.5c0.3-1.1,0.6-2.2,0.9-3.2c0.2-1,0.4-1.9,0.5-2.8c0.1-0.4,0.1-0.8,0.2-1.2 c0-0.4,0.1-0.7,0.1-1.1c0.1-0.7,0.1-1.2,0.2-1.7C90,50.5,90,50,90,50s0,0.5,0,1.4c0,0.5,0,1,0,1.7c0,0.3,0,0.7,0,1.1 c0,0.4-0.1,0.8-0.1,1.2c-0.1,0.9-0.2,1.8-0.4,2.8c-0.2,1-0.5,2.1-0.7,3.3c-0.3,1.2-0.8,2.4-1.2,3.7c-0.2,0.7-0.5,1.3-0.8,1.9 c-0.3,0.7-0.6,1.3-0.9,2c-0.3,0.7-0.7,1.3-1.1,2c-0.4,0.7-0.7,1.4-1.2,2c-1,1.3-1.9,2.7-3.1,4c-2.2,2.7-5,5-8.1,7.1 c-0.8,0.5-1.6,1-2.4,1.5c-0.8,0.5-1.7,0.9-2.6,1.3L66,87.7l-1.4,0.5c-0.9,0.3-1.8,0.7-2.8,1c-3.8,1.1-7.9,1.7-11.8,1.8L47,90.8 c-1,0-2-0.2-3-0.3l-1.5-0.2l-0.7-0.1L41.1,90c-1-0.3-1.9-0.5-2.9-0.7c-0.9-0.3-1.9-0.7-2.8-1L34,87.7l-1.3-0.6 c-0.9-0.4-1.8-0.8-2.6-1.3c-0.8-0.5-1.6-1-2.4-1.5c-3.1-2.1-5.9-4.5-8.1-7.1c-1.2-1.2-2.1-2.7-3.1-4c-0.5-0.6-0.8-1.4-1.2-2 c-0.4-0.7-0.8-1.3-1.1-2c-0.3-0.7-0.6-1.3-0.9-2c-0.3-0.7-0.6-1.3-0.8-1.9c-0.4-1.3-0.9-2.5-1.2-3.7c-0.3-1.2-0.5-2.3-0.7-3.3 c-0.2-1-0.3-2-0.4-2.8c-0.1-0.4-0.1-0.8-0.1-1.2c0-0.4,0-0.7,0-1.1c0-0.7,0-1.2,0-1.7C10,50.5,10,50,10,50z" filter="url(#uil-ring-shadow)"></path></svg>';var c=(null!=(Config||{}).servicename?Config.servicename:"/service/")+"?loadComponent="+o+"&data="+encodeURIComponent(n)+"&configPath="+a+(r?"&isPwaShellFragment=true":"");def.prototype.getjson(c,function(e){t.innerHTML=e.body,setTimeout(function(){t.classList.remove("not-loaded"),t.removeAttribute("style")},500),render()})}(t)})}expose.done=Config.allComponents.slice(0),expose.assets=!1,expose.load=function(e,t,o){for(var i=(e||[]).length;i--;)-1!=this.done.indexOf(e[i])&&e.splice(i,1);if(0==(e||[]).length)return t();this.done=this.done.concat(e);var r=(System.cache||{}).default||"";e.forEach(function(e,t){o&&o.hasOwnProperty(e)&&o[e]>r&&(r=o[e])});for(var a=[],s=document.querySelectorAll("link"),c=0;c<s.length;c++){var l=s[c].getAttribute("href");-1!=l.indexOf("tpl=")&&(a=a.concat(l.split("tpl=")[1].split("&")[0].split(",")))}var u=this.splitJsComponents(e);e=e.filter(function(e){return-1==a.indexOf(e)}).join(",");var d=[System.media.js+"&tpl="+u.es5.join(",")+"&cache="+r];if((e.split(",")||[]).forEach(function(e){if(e){var t=n(e);t&&d.push(System.media.css+"&tpl="+(t||r))}}),u.esx.length)var f=0,p=setInterval(function(){if(f>5)return clearInterval(p),void console.error("Não foi possível disparar UOLoader via expose");window.UOLoader&&window.Promise&&(UOLoader(u.esx),clearInterval(p)),f++},1e3);load(d,t)},expose.getComponentsCache=function(e,t){var n=(System.cache||{}).default||"";return e.forEach(function(e,o){t&&t.hasOwnProperty(e)&&t[e]>n&&(n=t[e])}),n},expose.splitJsComponents=function(e){System.esxLoadingAfterEvent.filter(function(t){var n=-1!=e.indexOf(t.id);return n&&System.esx.push(t),!n});var t=System.esx.reduce(function(e,t){return e[t.id]=t,e},{});return e.reduce(function(e,n){return t.hasOwnProperty(n)?e.esx.push(t[n]):e.es5.push(n),e},{esx:[],es5:[]})},expose.loadAssets=function(e,o,i){i=i||0,this.assets||(this.assets={css:css=t("link","href"),js:js=t("script[src]","src")}),function(e){var t=this;Object.keys(e).forEach(function(n){for(var o=0;o<e[n].length;o++){var i=e[n][o];t.assets[n].indexOf(i)>-1&&(e[n].splice(o,1),o--)}}),t.assets.css=t.assets.css.concat(e.css),t.assets.js=t.assets.js.concat(e.js)}.call(this,e);var r=[];e.css.length&&e.css.forEach(function(e){var t=n(e);t&&-1==((Config||{}).loadedCssAssets||[]).indexOf(e)&&r.push(System.media.css+"&tpl="+(t||i)+"&v2")});var a=this.splitJsComponents(e.js);if(a.es5.length&&r.push(System.media.js+"&tpl="+a.es5.join(",")+"&cache="+i),a.esx.length)var s=0,c=setInterval(function(){if(s>5)return clearInterval(c),void console.error("Não foi possível disparar UOLoader via expose");window.UOLoader&&window.Promise&&(UOLoader(a.esx),clearInterval(c)),s++},1e3);if(0==r.length)return o();load(r,o)},o(),$(window).scroll(function(e,t,n){var o,i,r,a=null,s=0;n||(n={});var c=function(){s=!1===n.leading?0:Date.now(),a=null,r=e.apply(o,i),a||(o=i=null)};return function(){var l=Date.now();s||!1!==n.leading||(s=l);var u=t-(l-s);return o=this,i=arguments,u<=0||u>t?(a&&(clearTimeout(a),a=null),s=l,r=e.apply(o,i),a||(o=i=null)):a||!1===n.trailing||(a=setTimeout(c,u)),r}}(o,100))}),def("console",function(){window.console||(window.console=new function(){for(var e=["log","dir","info","error","warn"],t=0;t<e.length;t++)this[e[t]]=function(e){}})}),def("sessionstorage",function(){expose.get=function(e){if(e in sessionStorage)try{return JSON.parse(sessionStorage[e])}catch(e){}},expose.set=function(e,t){sessionStorage[e]=JSON.stringify(t)},expose.unset=function(e){sessionStorage.removeItem(e)}}),def("cookie",function(){expose.get=function(e){var t=new RegExp("(?:^|; )"+e+"=([^;]+)").exec(document.cookie);if(t)try{return JSON.parse(t[1])}catch(e){return t[1]}},expose.set=function(e,t,n,o,i){var r=e+"="+("object"==typeof t?JSON.stringify(t):t)+";";n&&("number"==typeof n&&(n=new Date(+new Date+86400*n*1e3)),r+="expires="+n.toGMTString()+";"),r+="path="+(o||"/")+";",!1!==i&&(r+="domain="+("string"==typeof i?i:document.domain)+";"),document.cookie=r},expose.unset=function(e,t,n){this.set(e,"",-1,t||null,n||null)}}),def("storage",function(){expose.get=function(e){if(e in localStorage)try{return JSON.parse(localStorage[e])}catch(e){}},expose.set=function(e,t){localStorage[e]=JSON.stringify(t)},expose.unset=function(e){localStorage.removeItem(e)}}),def("datapersist",["cookie","storage"],function(e,t){var n,o;try{t.set("t","t"),t.unset("t"),n=t}catch(t){n=e}o=n.get("datapersist")||{user:{}},expose.get=function(e){return o.user[this.area][e]||void 0},expose.set=function(e,t){o.user[this.area][e]=t,n.set("datapersist",o)},expose.unset=function(e){try{delete o.user[this.area][e],n.set("datapersist",o)}catch(e){}},expose.init=function(e){this.area=e,e in o.user||(o.user[e]={})},expose.autoinit=!0,expose.selector=!1}),def("datatemp",["cookie","sessionstorage"],function(e,t){var n,o;try{t.set("t","t"),t.unset("t"),n=t}catch(t){n=e}o=n.get("datapersist")||{user:{}},expose.get=function(e){return o.user[this.area][e]||void 0},expose.set=function(e,t){o.user[this.area][e]=t,n.set("datapersist",o)},expose.unset=function(e){try{delete o.user[this.area][e],n.set("datapersist",o)}catch(e){}},expose.init=function(e){this.area=e,e in o.user||(o.user[e]={})},expose.autoinit=!0,expose.selector=!1}),def("ie",function(){var e,t;e=this,t=function(){"use strict";var e="microsoft internet explorer"===navigator.appName.toLowerCase();return{version:function(){var t=!1;if(e){var n=navigator.userAgent;null!==/MSIE ([0-9]{1,}[.0-9]{0,})/.exec(n)&&(t=parseFloat(RegExp.$1))}return t}(),isIE:e}},"function"==typeof define&&define.amd?define(["ie"],t):"object"==typeof exports?module.exports=t(require("ie")):"object"==typeof expose?expose=t():e.ie=t()}),def("string",function(){expose.trim=function(e,t){return t||(t=" "),e.replace(new RegExp("^["+t+"]+|["+t+"]+$","g"),"")},expose.ucfirst=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},expose.unaccent=function(e){for(var t,n="",o=0,i=e.length;o<i;n+=(t="ÀÁÂÃÄÅàáâãäåÒÓÔÕÕÖØòóôõöøÈÉÊËèéêëðÇçÐÌÍÎÏìíîïÙÚÛÜùúûüÑñŠšŸÿýŽž".indexOf(e.charAt(o)))>-1?"AAAAAAaaaaaaOOOOOOOooooooEEEEeeeeeCcDIIIIiiiiUUUUuuuuNnSsYyyZz".charAt(t):e.charAt(o),o++);return n},expose.slug=function(e){return e=e.replace(/&(.)[^;]+;/g,"$1"),e=(e=(e=this.unaccent(e)).toLowerCase()).replace(/\s+(e|ou)\s+/g," "),e=(e=this.trim(e)).replace(/[^a-z0-9]+/g,"-")},expose.reverse=function(e){return e.split("").reverse().join("")},expose.toSlugPublicador=function(e){return this.unaccent(e).toLowerCase().replace(/[^a-z0-9 /&.+(-]+/g,"").replace(/\s+/g,"-").replace(/[&.+(]/g,"")}}),def("jsonp-promise",function(){window.login_action=function(e){console.log("callback success",e)},window.retrieve_action=function(e){console.log("callback success")},window.logout_action=function(e){console.log("callback success")},expose.jsonp=function(e,t){return $.ajax({url:decodeURIComponent(e),cache:!0,jsonpCallback:t+"_action"||"jsonp",dataType:"jsonp"})}}),def("querystring",function(){expose.urlReplacement=function(e,t,n){var o,i,r=new RegExp("[\\?&]"+t+"=([^&#]*)"),a=r.exec(e);null===a?i=e+(o=/\?/.test(e)?"&":"?")+t+"="+n:(o=a[0].charAt(0),i=e.replace(r,o+t+"="+n));return i}});var EventBus={},topics={},subUid=-1;def("bus",function(){expose.EventBus=function e(){"use strict";return e.on=function(e,t){topics[e]||(topics[e]=[]);var n=(++subUid).toString();return topics[e].push({token:n,func:t}),n},e.off=function(e){for(var t in topics)if(topics[t])for(var n=0,o=topics[t].length;n<o;n++)if(topics[t][n].token===e)return topics[t].splice(n,1),e;return!1},e.emit=function(e,t){return!!topics[e]&&(setTimeout(function(){for(var n=topics[e],o=n?n.length:0;o--;)n[o].func(e,t)},0),!0)},e}}),def("crazyload",["breakpoints"],function(e){"use strict";var t,n,o,i,r,a,s=[];function c(){for(var n=0;n<t.length;n++){var o=def.prototype.parse(t[n].getAttribute("data-crop"));if(t[n].getAttribute("data-detect-version")&&(o=o[-1!=t[n].getAttribute("data-src").indexOf("mais.uol")?"uolmais":-1==t[n].getAttribute("data-src").indexOf("v2")?"v1":"defaults"]),o){var i=e.sortOptions(Object.keys(o),!0);i&&l(t[n],o[i])}s.push(t[n])}}function l(e,t){var n=e.getAttribute("data-src"),o=e.getAttribute("data-noapplycrop")&&"true"==e.getAttribute("data-noapplycrop");n.match(/_[a-z]_\d{1,3}\.([a-z]{2,4})$/)||o||e.setAttribute("data-src",n.replace(/(-[^\d\.]+|_\d+x\d+)?(\.[^.]+)$/,function(e,n,o){return(t.match(/\d+x/)?"_":"-")+t+(o||"")}))}function u(t){var n=t.getAttribute("data-src");n.match(/original.\w+$/g)&&(n=t.getAttribute("src").replace(/x$/,""));var o=new Image;t.decoding="async",o.src=n,n.match(/\d+x\d+\.(jpg)/)&&"IMG"!=t.nodeName&&(t.style.backgroundImage="url("+n.replace(/x$/,"")+"x)"),t.setAttribute("data-crazyload","loaded");for(var i=n.replace(/.*_(\d+x\d+).*/,"$1"),r=t.parentNode;r;){if(r.className&&-1!=r.className.indexOf("crop-")&&i.match(/\d+x/g)){r.className=r.className.replace(/(crop-\d+x\d+)/,"crop-"+i);break}r=r.parentNode}for(var a,s=r?r.querySelector(".placeholder-mask"):null;s&&(!s.className||"object"==typeof s.className||-1==s.className.indexOf("placeholder-mask"));)s=s.nextSibling;(s&&i.split("x")[1]>1?s.style.paddingBottom=i.split("x")[1]/i.split("x")[0]*100+"%":s&&e.checkin("xs")&&(450==i.split("x")[0]||750==i.split("x")[0])&&t.classList.add("static-position"),t.parentNode&&-1!=t.parentNode.className.indexOf("placeholder")&&r&&-1==r.className.indexOf("no-adapt")&&(t.parentNode.style.maxWidth=i.split("x")[0]+"px"),r&&-1!=r.className.indexOf("limit-crop")&&!e.checkin("xs")&&(r.style.maxWidth=i.split("x")[0]+"px"),r)&&(i.split("x").length>1&&i.split("x")[1]>1?a=i.split("x")[0]/i.split("x")[1]:s&&s.style.paddingBottom&&(a=100/parseInt(s.style.paddingBottom)),r.setAttribute("data-format",a>1?"horizontal":a<1?"vertical":"quadrado"));o.addEventListener("load",function(){if(t.className+=" loaded","IMG"==t.nodeName){t.src=n;var e=t.getAttribute("data-noapplycrop")&&"true"==t.getAttribute("data-noapplycrop");i.match(/\d+x/g)&&!e&&(t.width=i.split("x")[0],t.height=i.split("x")[1]),t.style.backgroundImage=""}else t.style.backgroundImage="url("+n+")";1===t.height&&(t.className+=" static-position")},!1)}window.crazyload=function(){if(s.length){for(var e=[],t=0;t<s.length;t++){var o=s[t].getBoundingClientRect(),i=!!document.querySelector(".bannersticky-wrapper");if((o.left+o.top>=0||0==t&&0==i)&&o.top>=-1.5*window.innerHeight&&o.top<=1.5*window.innerHeight&&o.left>=-1.5*window.innerWidth&&o.left<=1.5*window.innerWidth){var r=s[t].getAttribute("data-src");if(n&&/(_)?\d+x\d+(\/\w[\x00-\x7F]+)?\.(jpg|jpeg|png)(\?.*)?$/.test(r)){var a=r.split("?");s[t].setAttribute("data-src",a[0]+".webp"+(a[1]?`?${a[1]}`:""))}u(s[t])}else e.push(s[t])}s=e}},window.oncontentchange=function(){s=[];for(var e=(t=Array.prototype.slice.call(document.querySelectorAll("[data-src]:not([data-crazyload])"))).length;e--;){var n=t[e].getAttribute("data-src");-1==n.indexOf(".")&&(t[e].addEventListener(n,crazyload),t.splice(e,1))}t.length&&c()},window.crazyloadReload=function(){if(0!==arguments.length){for(var e=Array.prototype.slice.call(arguments),n=0;n<e.length;n++)"length"in e[n]?e[n]=Array.prototype.slice.call(e[n]):e[n]=[e[n]];e=e.reduce(function(e,t){return e.concat(t)});for(n=0;n<e.length;n++){var o=e[n];o.className=o.className.replace(/\s+loaded/g,""),o.setAttribute("data-crazyload","reload")}(t=t.concat(e)).length&&(c(),crazyload())}},window.crazyloadinit=function(){void 0!==n&&(oncontentchange(),crazyload())},window.crazyloadObserver=function(e){return"MutationObserver"in window?new MutationObserver(function(t){for(var n=0;n<t.length;n++){var o=t[n];if("class"==o.attributeName&&o.target&&o.target.classList.contains("loaded")){e();break}}}):null},window.addEventListener("resize",function(){o&&(o=clearTimeout(o)),o=setTimeout(crazyloadinit,200)}),i="lossy",r=function(e,t){window._isWebpSupported=n=t,window.addEventListener("scroll",crazyloadinit),window.addEventListener("click",crazyloadinit),window.addEventListener("touchmove",crazyloadinit),window.addEventListener("touchend",crazyloadinit),window.addEventListener("keyup",crazyloadinit),window.addEventListener("load",crazyloadinit,!1),ready(crazyloadinit)},(a=new Image).onload=function(){var e=a.width>0&&a.height>0;r(i,e)},a.onerror=function(){r(i,!1)},a.src="data:image/webp;base64,"+{lossy:"UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",lossless:"UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==",alpha:"UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAARBxAR/Q9ERP8DAABWUDggGAAAABQBAJ0BKgEAAQAAAP4AAA3AAP7mtQAAAA==",animation:"UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA"}[i]}),function(e){"use strict";"object"!=typeof e.usocket&&(e.usocket=function(e,t){var n=function(){},o=navigator.userAgent,i=void 0!==t.WebSocket&&3===t.WebSocket.CLOSED;!0===/Android (4.[0123]|2.\d)/.test(o)&&!1===/ Chrome\//.test(o)&&(i=!1);var r={},a="rtw.uol.com",s=!1,c=1e3,l=1e4,u=1006,d=1e3,f=4001,p=4002,h={},m=[],g=null,v=null,y=+new Date,A=null,w=function(t){return e.map(t,function(e){return[e]})},b=function(){if(45e3<=+new Date-y&&g&&!0!==g.isFake&&(r.send(""),y=+new Date),!1===r.isConnected()&&g)return g.onerror({code:"TIMEOUT"}),!1;v=setTimeout(b,5e3)},x=function(e,t,n){var o=[];n?h[n]&&o.push(h[n]):o=o.concat(w(h));for(var i=0,r=o.length;i<r;i++)void 0!==o[i]&&"function"==typeof o[i].pub&&o[i].pub(e,t)},C=function(e){if(null!==g){var t=[];if(e){if(h[e]&&t.push(h[e]),!0===g.isFake)return g.removeChannels(e),!0}else t=t.concat(w(h));for(var n=0,o=t.length;n<o;n++)t[n].off(),delete h[t[n].channelName]}},k=function(){C(),clearTimeout(v),g&&(g.onmessage=null,g.onclose=null,g.onerror=null,g=null)},S=function(e){if("string"==typeof e)m.push(e);else for(var t;t=m.shift();)g.send(t)},O=function(e){if(h[e])return h[e];if(this instanceof O==0)return new O(e);var t={message:[],close:[],error:[],lost:[],open:[]};this.channelName=e;var o,c={};return this.data=function(e){return void 0===e?c:c=e},this.on=function(e,n){if(t[e]){var o;for(o in t[e])if(!0===t[e].hasOwnProperty(o)&&t[e][o]===n)return this;t[e].push(n)}return this},this.off=function(e,n){var o,i;if(e){var r=t[e];if(r)for(o=0,i=r.length;o<i;o++)(n&&r[o]===n||!n)&&(r[o]=null)}else for(o in t)if(!0===t.hasOwnProperty(o))for(;t[o].pop(););return this},this.close=function(){return!0===r.isConnected()&&(this.client_solicitation=!0,g.send("unsubscribe:"+e)),this},this.pub=function(e,n){for(var o=t[e],i=0,r=o.length;i<r;i++)"function"==typeof o[i]&&o[i].call(this,n)},o=(o=e)||"",null===g||4===g.readyState?((g=!0===i&&!1===s?new WebSocket("wss://"+a+"/sub?id="+o):new E("wss://"+a+"/sub?id="+o)).reconnect||(g.reconnect=n),g.onopen=function(e){S(),b(),x("open",e)},g.onmessage=r.onmessage,g.onerror=function(e){x("error",e),e.invalidChannel||k()},g.onclose=function(e,t){var n=e&&e.code||t&&t.code||0;n===u||1001===n?x("error",e):!1!==e.triggerClose&&x("close",e),k()}):!0===r.isConnected()?g.send(o):S(o),this};function E(t){var n,o,i,a,s=0,c=0,m={url:t,channels:[],channelsUpdated:{},openDelay:100},v={URL:t,CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3,isFake:!0,removeChannels:function(t){if(t)m.channels=e.grep(m.channels,function(e){return e!==t}),delete m.channelsUpdated[t],delete h[t];else for(var n;n=m.channels.pop();)delete m.channelsUpdated[n],delete h[n]},channel:"",setLastModified:function(e){m.channelsUpdated[this.channel]=e},readyState:0,reconnect:function(e,t){return!t||"function"==typeof t&&!0===t.call(m)?(clearTimeout(s),s=setTimeout(y,e)):v.close(!1),!0},send:function(e){var t=e.match(/^unsubscribe:(.+)/);t?r.onmessage('{"unsubscribed":"'+t[1]+'"}'):m.channels.push(e)},close:function(t){this.readyState=2,clearTimeout(n),clearTimeout(s),!(this.readyState=3)!==t?e(v).triggerHandler("close",{code:d}):g=null},onopen:function(){},onmessage:function(){},onerror:function(){},onclose:function(){}};function y(t){var n;if(t?n=t:(v.channel=(c>=m.channels.length&&(c=0),m.channels[c++]),n=v.channel),0===m.channels.length)return e(v).triggerHandler("close",{code:f});e.ajax({type:"GET",url:m.url+"?id="+n+"&ifmod="+(m.channelsUpdated[n]||0)+"&ts="+ +new Date,cache:!0,dataType:"script",timeout:l,success:function(){},error:function(){e(v).triggerHandler("error",{code:u})}})}return a=(i=t).match(/id=([^&]+)$/),o=null!==a&&(m.channels.push(a[1]),m.url=i.replace("wss:","https:").replace(/\?.*/,""),!0),n=setTimeout(function(){!0===o?(v.readyState=1,e(v).triggerHandler("open"),m.channels.length&&y()):e(v).triggerHandler("close",{code:p})},m.openDelay),v}return r.version="2.8.10",r.CONFIG_CHANGES="CONFIG_CHANGES",r.connect=function(e){return h[e]=new O(e),h[e]},r.disconnect=function(e){return g&&g.close(1e3,e||"NORMAL"),r},r.isConnected=function(){return!(!g||g.readyState!==g.OPEN)},r.send=function(e){return!0===this.isConnected()&&g.send(e),this},r.lastMessageTime=function(){return new Date(y)},r.onmessage=function(e){if(!e)return g.reconnect(c);if(!1===r.isConnected())return!1;var t=g.isFake?e:e.data;if(void 0===t)return g.reconnect(c);try{"object"!=typeof t&&(t=JSON.parse(t))}catch(e){return g.reconnect(1e4),x("error",{error:"INVALID_JSON"}),console.error("mensagem precisa ser um JSON válido",t)}if(t.invalidChannel)return x("error",t,t.invalidChannel),C(t.invalidChannel),g&&!0===g.isFake&&g.reconnect(c,function(){return 0<this.channels.length}),console.log("invalidChannel: ",t.invalidChannel);if(t.unsubscribed)return x("close",t,t.unsubscribed),C(t.unsubscribed),g.reconnect(200);if(!t.channelName)return g.reconnect(1e4),x("error",{error:"NO_CHANNEL_NAME"}),console.error('json precisa do atributo "channelName"',t);if(!t.lastModified)return g.reconnect(1e4),x("error",{error:"NO_LAST_MODIFIED"}),console.error('json precisa do atributo "lastModified"',t);if(void 0===h[t.channelName])return!1;var n=h[t.channelName].data().lastModified;void 0!==n&&t.prevModified!==n&&x("lost",{error:"LOST_DATA"}),h[t.channelName].data(t),y=+new Date,x("message",t,t.channelName),!0===g.isFake&&(g.setLastModified(t.lastModified),g.reconnect(200))},r.config=function(e){var t,n={domain:a,forcePolling:s,pollingDelay:c,channels:h,connection:g};if(void 0===e)return n;if("string"==typeof e)return n[e];if(!0===e.parasite&&null!==A)return!1;if(!0===r.isConnected())return console.log("usocket.confg()\tAs configurações só são aplicadas quando não há conexão estabelecida."),!1;for(t in A=e)if(!0===e.hasOwnProperty(t)){var o=e[t];switch(t){case"domain":a=o;break;case"forcePolling":s=o;break;case"pollingDelay":c=o}}return!0},r.polling=function(t,o,i,r){if(void 0!==h[t]&&void 0===r)return console.error("Não é possível fazer polling em canal com conexão WebSocket ativa.");o=o||n;var s=function(e){if(e.channelName===t||e.invalidChannel===t){o.apply(i,[e.hasOwnProperty("invalidChannel"),e]);for(var n=0,r=UOLWebSocketCollection.length;n<r;n++)UOLWebSocketCollection[n]===s&&(UOLWebSocketCollection.splice(n,1),s=null)}};UOLWebSocketCollection.push(s),e.ajax({url:"https://"+a+"/sub?id="+t+"&ifmod=0&ts="+ +new Date,cache:!0,dataType:"script",scriptCharset:"utf-8"})},(t.UOLWebSocketCollection=t.UOLWebSocketCollection||[]).push(r.onmessage),"function"!=typeof t.UOLWebSocketCallback&&(t.UOLWebSocketCallback=function(e){for(var n=t.UOLWebSocketCollection,o=0;o<n.length;o++)n[o].call(null,e)}),r}(jQuery,e)),"function"==typeof define&&define.amd&&define("usocket",[],function(){return usocket}),"undefined"!=typeof angular&&angular.module("usocket",[]).factory("usocket",[function(){return usocket}])}(window),function(){if("fetch"in window==!1||void 0===Array.prototype.flat)return!1;const e=["measure","navigation","mark","paint"],t={},n=()=>window.Config&&window.Config.central?window.Config.central.slug:"www.uol.com.br"!==location.hostname?location.hostname.split(".")[0]:"www.uol.com.br"===location.hostname&&"/"!==location.pathname?location.pathname.split("/")[1]:"www.uol.com.br"===location.hostname&&"/"===location.pathname?"home":"-",o=function(e){e=e.split("+").join(" ");for(var t,n={},o=/[?&]?([^=]+)=([^&]*)/g;t=o.exec(e);)n[decodeURIComponent(t[1])]=decodeURIComponent(t[2]);return!(!n||!n.abTest)&&n.abTest},i=function(e){switch(console.log("[performance observer] parsing entry",e.entryType,e),e.entryType){case"mark":case"paint":!1===/^_uol-/.test(e.name)&&(t[e.name]=e.startTime.toString());break;case"measure":!0===/^uol-/.test(e.name)&&(t[e.name]=e.duration.toString());break;case"navigation":["domComplete","domInteractive","encodedBodySize","domContentLoadedEventStart","duration","loadEventStart","requestStart","responseStart","responseEnd"].forEach(n=>{t[`nav-${n}`]=e[n].toString()}),t["nav-requestTime"]=(e.responseStart-e.requestStart).toString(),t["nav-responseTime"]=(e.responseEnd-e.responseStart).toString(),t["nav-requestResponseTime"]=(e.responseEnd-e.requestStart).toString()}},r=function(){if(0===Object.keys(t).length)return;const e=[{groupingMap:{"Agrupador dominio":"Métricas de Performance",url:window.location.href,host:window.location.hostname,clientConnection:window.navigator.connection&&!!window.navigator.connection.effectiveType&&window.navigator.connection.effectiveType,deviceMemory:window.navigator&&!!window.navigator.deviceMemory&&window.navigator.deviceMemory,abTest:o(document.location.search),central:n(),plataforma:window.Config&&window.Config.platform||"-",mediaType:window.universal_variable&&window.universal_variable.aud&&window.universal_variable.aud.mediaType||"-"},measureMap:Object.assign({},t)}];console.log("[performance observer] sending metrics",JSON.stringify(e)),fetch("https://logger.uol.com.br/v1/?prd=975",{method:"POST",headers:{"Content-Type":"application/json"},redirect:"error",referrerPolicy:"no-referrer",body:JSON.stringify(e)}).then(function(e){e&&Object.keys(t).forEach(e=>delete t[e])})},a=function(e){t[e.name]=e.value.toString()},s=function(){console.log("[performance observer] starting performance observer script"),function(){var e,t;e=this,t=function(e){"use strict";var t,n,o,i,r=function(e,t){return{name:e,value:void 0===t?-1:t,delta:0,entries:[],id:"v2-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},a=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if("first-input"===e&&!("PerformanceEventTiming"in self))return;var n=new PerformanceObserver(function(e){return e.getEntries().map(t)});return n.observe({type:e,buffered:!0}),n}}catch(e){}},s=function(e,t){var n=function n(o){"pagehide"!==o.type&&"hidden"!==document.visibilityState||(e(o),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},c=function(e){addEventListener("pageshow",function(t){t.persisted&&e(t)},!0)},l=function(e,t,n){var o;return function(i){t.value>=0&&(i||n)&&(t.delta=t.value-(o||0),(t.delta||void 0===o)&&(o=t.value,e(t)))}},u=-1,d=function(){return"hidden"===document.visibilityState?0:1/0},f=function(){s(function(e){var t=e.timeStamp;u=t},!0)},p=function(){return u<0&&(u=d(),f(),c(function(){setTimeout(function(){u=d(),f()},0)})),{get firstHiddenTime(){return u}}},h=function(e,t){var n,o=p(),i=r("FCP"),s=function(e){"first-contentful-paint"===e.name&&(d&&d.disconnect(),e.startTime<o.firstHiddenTime&&(i.value=e.startTime,i.entries.push(e),n(!0)))},u=performance.getEntriesByName&&performance.getEntriesByName("first-contentful-paint")[0],d=u?null:a("paint",s);(u||d)&&(n=l(e,i,t),u&&s(u),c(function(o){i=r("FCP"),n=l(e,i,t),requestAnimationFrame(function(){requestAnimationFrame(function(){i.value=performance.now()-o.timeStamp,n(!0)})})}))},m=!1,g=-1,v={passive:!0,capture:!0},y=new Date,A=function(e,i){t||(t=i,n=e,o=new Date,x(removeEventListener),w())},w=function(){if(n>=0&&n<o-y){var e={entryType:"first-input",name:t.type,target:t.target,cancelable:t.cancelable,startTime:t.timeStamp,processingStart:t.timeStamp+n};i.forEach(function(t){t(e)}),i=[]}},b=function(e){if(e.cancelable){var t=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,t){var n=function(){A(e,t),i()},o=function(){i()},i=function(){removeEventListener("pointerup",n,v),removeEventListener("pointercancel",o,v)};addEventListener("pointerup",n,v),addEventListener("pointercancel",o,v)}(t,e):A(t,e)}},x=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,b,v)})},C=new Set;e.getCLS=function(e,t){m||(h(function(e){g=e.value}),m=!0);var n,o=function(t){g>-1&&e(t)},i=r("CLS",0),u=0,d=[],f=function(e){if(!e.hadRecentInput){var t=d[0],o=d[d.length-1];u&&e.startTime-o.startTime<1e3&&e.startTime-t.startTime<5e3?(u+=e.value,d.push(e)):(u=e.value,d=[e]),u>i.value&&(i.value=u,i.entries=d,n())}},p=a("layout-shift",f);p&&(n=l(o,i,t),s(function(){p.takeRecords().map(f),n(!0)}),c(function(){u=0,g=-1,i=r("CLS",0),n=l(o,i,t)}))},e.getFCP=h,e.getFID=function(e,o){var u,d=p(),f=r("FID"),h=function(e){e.startTime<d.firstHiddenTime&&(f.value=e.processingStart-e.startTime,f.entries.push(e),u(!0))},m=a("first-input",h);u=l(e,f,o),m&&s(function(){m.takeRecords().map(h),m.disconnect()},!0),m&&c(function(){var a;f=r("FID"),u=l(e,f,o),i=[],n=-1,t=null,x(addEventListener),a=h,i.push(a),w()})},e.getLCP=function(e,t){var n,o=p(),i=r("LCP"),u=function(e){var t=e.startTime;t<o.firstHiddenTime&&(i.value=t,i.entries.push(e)),n()},d=a("largest-contentful-paint",u);if(d){n=l(e,i,t);var f=function(){C.has(i.id)||(d.takeRecords().map(u),d.disconnect(),C.add(i.id),n(!0))};["keydown","click"].forEach(function(e){addEventListener(e,f,{once:!0,capture:!0})}),s(f,!0),c(function(o){i=r("LCP"),n=l(e,i,t),requestAnimationFrame(function(){requestAnimationFrame(function(){i.value=performance.now()-o.timeStamp,C.add(i.id),n(!0)})})})}},e.getTTFB=function(e){var t,n=r("TTFB");t=function(){try{var t=performance.getEntriesByType("navigation")[0]||function(){var e=performance.timing,t={entryType:"navigation",startTime:0};for(var n in e)"navigationStart"!==n&&"toJSON"!==n&&(t[n]=Math.max(e[n]-e.navigationStart,0));return t}();if(n.value=n.delta=t.responseStart,n.value<0)return;n.entries=[t],e(n)}catch(e){}},"complete"===document.readyState?setTimeout(t,0):addEventListener("pageshow",t)},Object.defineProperty(e,"__esModule",{value:!0})},"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).webVitals={}),webVitals.getCLS(a,!0),webVitals.getLCP(a,!0),webVitals.getFID(a,!0)}(),new PerformanceObserver(function(e){const t=e.getEntries();for(var n=0;n<t.length;n++)i(t[n])}).observe({entryTypes:e}),e.map(e=>performance.getEntriesByType(e)).flat(1/0).map(i),window.addEventListener("visibilitychange",()=>"hidden"===document.visibilityState&&r()),window.addEventListener("pagehide",r)};(!0===location.search.includes("debugWebVitals=true")||Math.floor(100*Math.random())<15)&&s()}();   