(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{139:function(t,e){},142:function(t,e){},143:function(t,e){},144:function(t,e){},145:function(t,e){},146:function(t,e){},148:function(t,e){},149:function(t,e){},150:function(t,e){},151:function(t,e){},152:function(t,e){},153:function(t,e){},155:function(t,e){},168:function(t,e){},169:function(t,e){},208:function(t,e){},210:function(t,e){},219:function(t,e){},236:function(t,e){},269:function(t,e,n){var i=n(551);(i="string"==typeof(i=i.__esModule?i.default:i)?[[t.i,i,""]]:i).locals&&(t.exports=i.locals),(0,n(11).default)("987597d2",i,!0,{singleton:!0})},272:function(t,e,n){var i=n(557);(i="string"==typeof(i=i.__esModule?i.default:i)?[[t.i,i,""]]:i).locals&&(t.exports=i.locals),(0,n(11).default)("359e3857",i,!0,{singleton:!0})},273:function(t,e,n){var i=n(559);(i="string"==typeof(i=i.__esModule?i.default:i)?[[t.i,i,""]]:i).locals&&(t.exports=i.locals),(0,n(11).default)("da3ca184",i,!0,{singleton:!0})},275:function(t,e,n){var i=n(563);(i="string"==typeof(i=i.__esModule?i.default:i)?[[t.i,i,""]]:i).locals&&(t.exports=i.locals),(0,n(11).default)("20ba71be",i,!0,{singleton:!0})},276:function(t,e,n){var i=n(565);(i="string"==typeof(i=i.__esModule?i.default:i)?[[t.i,i,""]]:i).locals&&(t.exports=i.locals),(0,n(11).default)("241fb02b",i,!0,{singleton:!0})},283:function(t,e,n){var i=n(568);(i="string"==typeof(i=i.__esModule?i.default:i)?[[t.i,i,""]]:i).locals&&(t.exports=i.locals),(0,n(11).default)("47b21383",i,!0,{singleton:!0})},285:function(t,e,n){var i=n(572);(i="string"==typeof(i=i.__esModule?i.default:i)?[[t.i,i,""]]:i).locals&&(t.exports=i.locals),(0,n(11).default)("2a4b3ed7",i,!0,{singleton:!0})},286:function(t,e,n){var i=n(574);(i="string"==typeof(i=i.__esModule?i.default:i)?[[t.i,i,""]]:i).locals&&(t.exports=i.locals),(0,n(11).default)("7430a8b2",i,!0,{singleton:!0})},287:function(t,e,n){var i=n(576);(i="string"==typeof(i=i.__esModule?i.default:i)?[[t.i,i,""]]:i).locals&&(t.exports=i.locals),(0,n(11).default)("5141e3f9",i,!0,{singleton:!0})},289:function(t,e,n){var i=n(579);(i="string"==typeof(i=i.__esModule?i.default:i)?[[t.i,i,""]]:i).locals&&(t.exports=i.locals),(0,n(11).default)("5063fc19",i,!0,{singleton:!0})},291:function(t,e,n){var i=n(583);(i="string"==typeof(i=i.__esModule?i.default:i)?[[t.i,i,""]]:i).locals&&(t.exports=i.locals),(0,n(11).default)("eb5ccf2c",i,!0,{singleton:!0})},305:function(t,e,n){var i=n(616);(i="string"==typeof(i=i.__esModule?i.default:i)?[[t.i,i,""]]:i).locals&&(t.exports=i.locals),(0,n(11).default)("23a9ecc8",i,!0,{singleton:!0})},306:function(t,e,n){var i=n(618);(i="string"==typeof(i=i.__esModule?i.default:i)?[[t.i,i,""]]:i).locals&&(t.exports=i.locals),(0,n(11).default)("1c92c334",i,!0,{singleton:!0})},345:function(t,e,n){var i=n(697);(i="string"==typeof(i=i.__esModule?i.default:i)?[[t.i,i,""]]:i).locals&&(t.exports=i.locals),(0,n(11).default)("7103ba22",i,!0,{singleton:!0})},360:function(t,e,n){var i=n(718);(i="string"==typeof(i=i.__esModule?i.default:i)?[[t.i,i,""]]:i).locals&&(t.exports=i.locals),(0,n(11).default)("4eba320c",i,!0,{singleton:!0})},377:function(t,e,n){var i=n(757);(i="string"==typeof(i=i.__esModule?i.default:i)?[[t.i,i,""]]:i).locals&&(t.exports=i.locals),(0,n(11).default)("4e33adbe",i,!0,{singleton:!0})},403:function(t,e,n){"use strict";var i=n(9),o=n(2),a=n(5),r=n(4),s=n(3),c=(n(39),n(19),n(1)),l=n(0),u=function(t){Object(r.a)(n,t);var e=Object(s.a)(n);function n(){var t;return Object(o.a)(this,n),(t=e.apply(this,arguments)).isHeadline="headline"===t.type,t}return Object(a.a)(n,[{key:"getBrandData",value:function(){var t=this,e=[{name:"uol",width:40,height:20,description:"UOL"},{name:"universa",width:150,height:24,description:"UOL Universa"},{name:"viva-bem",width:124,height:24,description:"UOL Vivabem"},{name:"tab",width:41,height:24,description:"UOL TAB"},{name:"ecoa",width:94,height:24,description:"UOL Ecoa"},{name:"splash",width:169,height:30,description:"UOL Splash"},{name:"tilt",width:47,height:31,description:"UOL Tilt"},{name:"start",width:92,height:24,description:"UOL Start"},{name:"nossa",width:73,height:41,description:"UOL Nossa"},{name:"mov",width:78,height:24,description:"UOL Mov"},{name:"play",width:123,height:24,description:"UOL Play"},{name:"channel",width:136,height:24,description:"Canal UOL"},{name:"folha",width:147,height:24,description:"Folha de São Paulo"}].find((function(e){return e.name===t.icon}));return Object(i.a)({path:"brand"},e)}},{key:"getClasses",get:function(){var t=[];return t.push("brand"),t.push("brand--".concat(this.type)),this.title&&t.push("brand--has-title"),t}},{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}}]),n}(n(7).e);Object(c.a)([Object(l.c)({required:!0})],u.prototype,"icon",void 0),Object(c.a)([Object(l.c)()],u.prototype,"title",void 0),Object(c.a)([Object(l.c)({default:"div"})],u.prototype,"tag",void 0),Object(c.a)([Object(l.c)({default:"default"})],u.prototype,"type",void 0),Object(c.a)([Object(l.c)({default:!1})],u.prototype,"lazypreload",void 0),c=u=Object(c.a)([Object(l.a)({name:"Brand"})],u),l=n(8),u=n(139),u=n.n(u),c=Object(l.a)(c,(function(){var t=this,e=t.$createElement;return(e=t._self._c||e)(t.tag,{tag:"div",class:t.getClasses},[e("Icon",t._b({staticClass:"brand__icon",attrs:{lazypreload:t.lazypreload}},"Icon",t.isHeadline?t.getBrandData():t.icon,!1)),t.title?t._e():e("span",{staticClass:"uol-hidden"},[t._v("Seção "+t._s(t.icon.name))]),t.title?e("p",{staticClass:"brand__title"},[t._v("\n    "+t._s(t.title)+"\n  ")]):t._e()],1)}),[],!1,(function(t){var e=n(550);e.__inject__&&e.__inject__(t)}),null,"2521462b"),"function"==typeof u.a&&u()(c),e.a=c.exports},406:function(t,e,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=n(1),c=n(0),l=function(t){Object(a.a)(n,t);var e=Object(r.a)(n);function n(){var t;return Object(i.a)(this,n),(t=e.apply(this,arguments)).headlineAdKey=0,t}return Object(o.a)(n,[{key:"created",value:function(){}},{key:"onHeadlineCollectionChange",value:function(){!0===this.advertising&&(this.headlineAdKey=(new Date).getTime())}},{key:"dispatch",value:function(t){t()}}]),n}(n(7).a);Object(s.a)([Object(c.c)({default:!1})],l.prototype,"advertising",void 0),Object(s.a)([Object(c.c)({default:function(){return"banner-native-home-area"}})],l.prototype,"headlineAdId",void 0),Object(s.a)([Object(c.e)("headlineCollection")],l.prototype,"onHeadlineCollectionChange",null),s=l=Object(s.a)([Object(c.a)({name:"CardBrandList"})],l),c=n(8),l=n(142),l=n.n(l),s=Object(c.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.headlineCollection&&t.headlineCollection.length?n("ul",{staticClass:"cardBrandList"},[t._l(t.headlineCollection,(function(e,i){return n("li",{key:e.id+"-"+i,staticClass:"cardBrandList__item"},[n("HeadlineHorizontalBrand",t._b({attrs:{metrics:Object.assign({},t.metrics,{position:(i+1).toString()})}},"HeadlineHorizontalBrand",e,!1))],1)})),t.advertising?n("li",{staticClass:"cardBrandList__item"},[n("HeadlineHorizontalAd",{key:"advertising-"+t.headlineAdKey,attrs:{id:t.headlineAdId}})],1):t._e()],2):t._e()}),[],!1,(function(t){var e=n(556);e.__inject__&&e.__inject__(t)}),null,"5fae11b5"),"function"==typeof l.a&&l()(s),e.a=s.exports},407:function(t,e,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=n(1),c=n(0),l=function(t){Object(a.a)(n,t);var e=Object(r.a)(n);function n(){return Object(i.a)(this,n),e.apply(this,arguments)}return Object(o.a)(n,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}}]),n}(n(7).c);Object(s.a)([Object(c.c)({required:!0})],l.prototype,"id",void 0),Object(s.a)([Object(c.c)({required:!0})],l.prototype,"link",void 0),Object(s.a)([Object(c.c)({required:!0})],l.prototype,"title",void 0),Object(s.a)([Object(c.c)({required:!0})],l.prototype,"brand",void 0),Object(s.a)([Object(c.c)({required:!0})],l.prototype,"photo",void 0),Object(s.a)([Object(c.c)()],l.prototype,"icon",void 0),Object(s.a)([Object(c.c)()],l.prototype,"kicker",void 0),Object(s.a)([Object(c.c)()],l.prototype,"styleHeadline",void 0),Object(s.a)([Object(c.c)()],l.prototype,"showComments",void 0),s=l=Object(s.a)([Object(c.a)({name:"CardBrandSpecial"})],l),c=n(8),l=n(143),l=n.n(l),s=Object(c.a)(s,(function(){var t=this,e=t.$createElement;return(e=t._self._c||e)("div",{staticClass:"cardBrandSpecial"},[e("HeadlineHorizontalBrand",{staticClass:"cardBrandSpecial__headline",attrs:{id:t.id,link:t.link,title:t.title,brand:t.brand,photo:t.photo,icon:t.icon,kicker:t.kicker,"style-headline":t.styleHeadline,"show-comments":t.showComments,metrics:t.metrics}})],1)}),[],!1,(function(t){var e=n(558);e.__inject__&&e.__inject__(t)}),null,"ba3e0b6e"),"function"==typeof l.a&&l()(s),e.a=s.exports},408:function(t,e,n){"use strict";var i=n(10),o=n(9),a=n(2),r=n(5),s=n(4),c=n(3),l=n(6),u=n.n(l),d=(n(69),n(274),n(57),n(39),n(17),n(15),n(30),n(41),n(1)),h=n(0);l=function(t){Object(s.a)(d,t);var e,n,l=Object(c.a)(d);function d(){var t;return Object(a.a)(this,d),(t=l.apply(this,arguments)).advertisingKey=0,t.default={isMobile:!1,adsPosition:"center",adsData:null},t}return Object(r.a)(d,[{key:"carouselItems",get:function(){var t=JSON.parse(JSON.stringify(this.headlineCollection));return this.data.adsData&&t.splice(this.getAdsIndexPosition(),0,this.data.adsData),t}},{key:"getAdsIndexPosition",value:function(){switch(this.data.adsPosition){case"center":case"meio":return Math.ceil(this.headlineCollection.length/2);case"first":case"primeiro":return 0;case"last":case"ultimo":return this.headlineCollection.length;default:return Number.isNaN(Number(this.data.adsPosition))?Math.max(1,this.headlineCollection.length-1):Number(this.data.adsPosition)}}},{key:"getShapeButton",get:function(){return"HeadlinePhoto"!==this.getComponentRender?"secondary":"primary"}},{key:"getComponentRender",get:function(){return this.headlineCollection.find((function(t){return t.brand}))?"HeadlinePhotoBrand":"HeadlinePhoto"}},{key:"getClasses",get:function(){var t=["cardCarousel","cardCarousel--".concat(this.station)];return 1<this.headlineCollection.length&&t.push("cardCarousel__carouselActivated"),"HeadlinePhoto"===this.getComponentRender?t.push("cardCarousel__headlinePhoto"):t.push("cardCarousel__headlinePhotoBrand"),t}},{key:"getComponents",get:function(){var t=this;return this.carouselItems.map((function(e,n){var i=JSON.parse(JSON.stringify(e));return 0===n&&(i.emitLoadEvent=!0),i.metrics=Object(o.a)(Object(o.a)({},t.metrics),{},{position:(n+1).toString()}),{name:t.getItemRender(e),payload:i}}))}},{key:"getItemRender",value:function(t){return!0===t.isAdvertising?"HeadlinePhotoAd":t.brand?"HeadlinePhotoBrand":"HeadlinePhoto"}},{key:"handleNativeBanner",value:function(t,e){this.tools.custom.debug.logMessage('ADS Carousel Native Banner. CALL "insertBannerRotativoTopo". data:',t,e),e.link&&e.texto&&e.imagem?(this.data.adsPosition=t,this.data.adsData={isAdvertising:!0,title:e.texto,link:e.link,id:"card-carousel-native-banner",offerAd:{label:"Oferecido por",image:e.selo},photo:{images:[{src:this.data.isMobile&&e.imagemMobile?e.imagemMobile:e.imagem}],credit:e.credito}}):this.tools.custom.debug.logMessage("ADS Carousel Native Banner. Erro para renderizar pois não veio as propriedades requireds")}},{key:"created",value:function(){}},{key:"mounted",value:(n=Object(i.a)(u.a.mark((function t(){return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:!0===this.enableAdvertising&&void 0===window.insertBannerRotativoTopo&&(window.insertBannerRotativoTopo=this.handleNativeBanner.bind(this));case 3:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"onHeadlineCollectionChange",value:(e=Object(i.a)(u.a.mark((function t(e){return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!0!==this.enableAdvertising){t.next=6;break}if(!1===e.some((function(t){return!0===t.isAdvertising})))return t.next=5,this.$nextTick();t.next=6;break;case 5:this.advertisingKey=(new Date).getTime();case 6:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),d}(n(7).a);Object(d.a)([Object(h.c)({default:!1})],l.prototype,"enableAdvertising",void 0),Object(d.a)([Object(h.c)({default:"home"})],l.prototype,"station",void 0),Object(d.a)([Object(h.e)("headlineCollection")],l.prototype,"onHeadlineCollectionChange",null),d=l=Object(d.a)([Object(h.a)({name:"CardCarousel"})],l),h=n(8),l=n(144),l=n.n(l),d=Object(h.a)(d,(function(){var t=this,e=t.$createElement;return(e=t._self._c||e)("div",{class:t.getClasses},[e("Carousel",{staticClass:"edgeToEdge--xs",attrs:{station:t.station,"auto-roll":!0,components:t.getComponents,"shape-button":t.getShapeButton,metrics:t.metrics}}),t.enableAdvertising?e("CardAd",{key:t.advertisingKey,attrs:{id:"banner-300x250-4","class-ad":"rotativo-topo",hidden:"","aria-hidden":"true"}}):t._e()],1)}),[],!1,(function(t){var e=n(562);e.__inject__&&e.__inject__(t)}),null,"2c8764a4"),"function"==typeof l.a&&l()(d),e.a=d.exports},409:function(t,e,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=n(1),c=n(0),l=function(t){Object(a.a)(n,t);var e=Object(r.a)(n);function n(){return Object(i.a)(this,n),e.apply(this,arguments)}return Object(o.a)(n,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}}]),n}(n(7).a);Object(s.a)([Object(c.c)({default:!1})],l.prototype,"advertising",void 0),s=l=Object(s.a)([Object(c.a)({name:"CardColumn"})],l),c=n(8),l=n(145),l=n.n(l),s=Object(c.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.headlineCollection.length?n("div",{staticClass:"cardColumn"},[n("div",{staticClass:"row row-cols-1 row-cols-lg-2"},[t._l(t.headlineCollection,(function(e,i){return n("HeadlineStandard",t._b({key:e.id,staticClass:"cardColumn__headlineStandard col"},"HeadlineStandard",Object.assign({},e,{metrics:Object.assign({},t.metrics,{position:(i+1).toString()})}),!1))})),t.advertising?n("div",{staticClass:"cardColumn__headlineStandard col"},[n("div",{staticClass:"cardColumn__headlineAd"},[t._v("\n        Publicidade\n      ")])]):t._e()],2)]):t._e()}),[],!1,(function(t){var e=n(564);e.__inject__&&e.__inject__(t)}),null,"15525924"),"function"==typeof l.a&&l()(s),e.a=s.exports},410:function(t,e,n){"use strict";var i=n(10),o=n(2),a=n(5),r=n(4),s=n(3),c=n(6),l=n.n(c),u=(n(12),n(39),n(22),n(13),n(51),n(50),n(23),n(16),n(15),n(70),n(30),n(58),n(31),n(35),n(126),n(1)),d=n(0);c=function(t){Object(r.a)(p,t);var e,n,c,u,d,h,f=Object(s.a)(p);function p(){var t;return Object(o.a)(this,p),(t=f.apply(this,arguments)).selectedState="sp",t.sockets={},t.timeouts={},t.tryConnection={},t.firstLoad=!0,t.errorMsg={sap:"0",msg:"Aguardando dados"},t.configSocket={domain:"rtevent.uol.com"},t.href="https://noticias.uol.com.br/eleicoes/2022/apuracao/2turno/",t}return Object(a.a)(p,[{key:"onChangeState",value:function(t){this.selectedState=t,this.interrupted||(this.tools.custom.cookie.setCookie("elections_state",t),this.sockets.governor&&this.sockets.governor.close&&(this.sockets.governor.close(),this.sockets.governor=null),this.connectGovernor(t))}},{key:"getChannel",value:function(t){var e=this.data.prefix;return t?"".concat(e).concat(t,"-c3"):"".concat(e,"br-c1")}},{key:"configCandidates",value:function(t){var e,n=this;t&&(function(){try{t.forEach((function(t){t.nu=function(t){if(t.length<26)return t||"";var e=t.split(" "),n=[];return 2<e.length?(e.forEach((function(t,i){0!==i&&i!==e.length-1&&2<t.length?n.push("".concat(t.charAt(0),".")):n.push(t)})),n.join(" ")):t}(t.nu)}))}catch(t){n.tools.custom.debug.logError("[CardElectionsItem] Error ao abreviar nome",t)}}(),(e=null==t?void 0:t.find((function(t){return 1===t.s||2===t.s})))&&(e.elected=!0,(e=null==t?void 0:t.find((function(t){return!t.elected})))&&(e.s=9)),this.data.qa.tooltip&&t.forEach((function(t){t.van=1})))}},{key:"president",get:function(){return this.data.presidentData}},{key:"presidentCandidates",get:function(){var t;return this.configCandidates(null===(t=null===(t=this.data.presidentData)||void 0===t?void 0:t.ca)||void 0===t?void 0:t.slice(0,2)),null===(t=null===(t=this.data.presidentData)||void 0===t?void 0:t.ca)||void 0===t?void 0:t.slice(0,2)}},{key:"governor",get:function(){return this.data.governorData}},{key:"governorCandidates",get:function(){var t;return this.configCandidates(null===(t=null===(t=this.data.governorData)||void 0===t?void 0:t.ca)||void 0===t?void 0:t.slice(0,2)),null===(t=null===(t=this.data.governorData)||void 0===t?void 0:t.ca)||void 0===t?void 0:t.slice(0,2)}},{key:"polling",value:(h=Object(i.a)(l.a.mark((function t(e,n){var o,a,r,s,c,u,d=this;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:o="governor"===n?"governorData":"presidentData",a=null===(u=null==e?void 0:e.replace(this.data.prefix,""))||void 0===u?void 0:u.split("-"),r=(d.selectedState in d.data.definedStates?"https://stc.eleicoes2022.uol.com/2022/1turno/":"https://stc.eleicoes2022.uol.com/2022/2turno/").concat(a[0]||"","/").concat(a[0]||"","-").concat(a[1]||"",".json"),s=function(t){(t=t.data).error?d.data[o]=d.errorMsg:d.data[o]=t},c=function(){d.data[o]=d.errorMsg},u=function(){var t=Object(i.a)(l.a.mark((function t(){return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(d.disableSocket||d.selectedState in d.data.definedStates)return t.abrupt("return");t.next=2;break;case 2:if(d.timeouts[n]||(d.timeouts[n]=setInterval(Object(i.a)(l.a.mark((function t(){return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,d.polling(e,n);case 2:case"end":return t.stop()}}),t)}))),3e4)),d.firstLoad&&"president"===n)return d.firstLoad=!1,t.next=7,d.connect(d.getChannel(),"president");t.next=7;break;case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),this.fetch.get(r).then(s).catch(c).finally(u);case 9:case"end":return t.stop()}}),t,this)}))),function(t,e){return h.apply(this,arguments)})},{key:"connect",value:(d=Object(i.a)(l.a.mark((function t(e,n,o){var a,r,s=this;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.disableSocket||this.selectedState in this.data.definedStates)return this.polling(e,n),t.abrupt("return");t.next=3;break;case 3:return t.next=5,this.tools.custom.socket.connect(e);case 5:a=t.sent,o||(this.tryConnection[e]=2),console.log("Trying to connect : ",e),this.timeouts[n]&&(clearTimeout(this.timeouts[n]),this.timeouts[n]=null),r=function(){0<s.tryConnection[e]?(--s.tryConnection[e],setTimeout(Object(i.a)(l.a.mark((function t(){return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s.connect(e,n,!0);case 2:s.sockets[n]=t.sent;case 3:case"end":return t.stop()}}),t)}))),250)):(s.tryConnection[e]=null,s.polling(e,n))},a.onError((function(t){s.tools.custom.debug.logError(e,"Erro na conexão com o socket",t),r()})),a.onMessage((function(t){t.invalidChannel?r():s.data["governor"===n?"governorData":"presidentData"]=t})),a.onClose((function(){return console.log(e,"socket: closed")})),this.sockets[n]=a;case 14:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return d.apply(this,arguments)})},{key:"connectGovernor",value:(u=Object(i.a)(l.a.mark((function t(e){var n;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=this.getChannel(e),t.next=3,this.connect(n,"governor");case 3:case"end":return t.stop()}}),t,this)}))),function(t){return u.apply(this,arguments)})},{key:"getCookie",value:function(t){var e=new RegExp("".concat(t,"="),"g");t=new RegExp(".*?".concat(t,"=(.*?)(;.*?$|$)"),"g");return document.cookie.match(e)?(t=document.cookie.replace(t,"$1"),unescape(t)):""}},{key:"geoloc",value:function(){var t;try{var e=null===(t=this.getCookie("geoloc"))||void 0===t?void 0:t.split(",");return e.length?(e[4]||"").toLowerCase():""}catch(t){return this.tools.custom.debug.logError("Erro ao pegar cookie geoloc",t),""}}},{key:"initialConnection",value:(c=Object(i.a)(l.a.mark((function t(){var e,n;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(e=this.tools.custom.cookie.getCookie("elections_state")||this.geoloc()||"sp")in this.data.definedStates&&(e="sp"),n=this.getChannel(),e&&"sp"!==e&&this.onChangeState(e),t.t0=Promise,t.next=7,this.connect("eleicoes-placar-".concat(this.selectedState,"-c3"),"governor");case 7:return t.t1=t.sent,t.next=10,this.connect(n,"president");case 10:return t.t2=t.sent,t.t3=[t.t1,t.t2],t.next=14,t.t0.all.call(t.t0,t.t3);case 14:case"end":return t.stop()}}),t,this)}))),function(){return c.apply(this,arguments)})},{key:"created",value:function(){}},{key:"mounted",value:(n=Object(i.a)(l.a.mark((function t(){return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.interrupted)return t.abrupt("return");t.next=2;break;case 2:return this.data.qa.interrupted&&(this.interrupted=this.data.qa.interrupted),this.tools.custom.socket.socketConfig=this.configSocket,t.next=6,this.initialConnection();case 6:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"beforeDestroy",value:function(){Object.values(this.sockets).forEach((function(t){t.close&&t.close()}))}},{key:"dispatch",value:(e=Object(i.a)(l.a.mark((function t(e){var n,i,o;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=this.apis.custom.elections,i=this.tools.request.getParams("interrupted"),o=this.tools.request.getParams("tooltip"),this.tools.loadDistAsset(this.tools.custom.socket.distName),e({governorData:{},presidentData:{},isMobile:this.tools.userAgent.isSmart(),prefix:n.getPrefix(),states:n.getStates(),definedStates:n.getDefinedStates(),qa:{interrupted:i,tooltip:o}});case 5:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})}]),p}(n(7).e);Object(u.a)([Object(d.c)({default:"presidente-e-governador"})],c.prototype,"mobileShow",void 0),Object(u.a)([Object(d.c)({default:!1})],c.prototype,"interrupted",void 0),Object(u.a)([Object(d.c)({default:!1})],c.prototype,"disableSocket",void 0),u=c=Object(u.a)([Object(d.a)({name:"CardElections"})],c),d=n(8),c=n(146),c=n.n(c),u=Object(d.a)(u,(function(){var t=this,e=t.$createElement;return(e=t._self._c||e)("section",{staticClass:"cardElections"},[e("div",{staticClass:"cardElections__content"},[e("h2",{staticClass:"cardElections__content__title"},[e("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.metrics,{label:"content-elicoes-2022",action:t.href}),expression:"{ ...metrics, label: 'content-elicoes-2022', action : href }"}],attrs:{href:t.href}},[e("span",{staticClass:"cardElections__content__title__text"},[t._v("Eleições ")]),t._v(" 2022\n      ")])])]),e("div",{staticClass:"cardElections__container"},[t.interrupted?e("div",{staticClass:"cardElections__container__interrupted"},[e("span",{staticClass:"cardElections__container__interrupted__message"},[t._v("Apuração interrompida por ordem judicial")])]):t._e(),!t.data.isMobile||t.data.isMobile&&t.mobileShow.includes("presidente")?e("CardElectionsItem",{attrs:{title:"Presidente",candidates:t.presidentCandidates,"counted-votes":t.president.sap,metrics:t.metrics,interrupted:t.interrupted,href:t.href,"is-mobile":t.data.isMobile}}):t._e(),!t.data.isMobile||t.data.isMobile&&t.mobileShow.includes("governador")?e("CardElectionsItem",{attrs:{"has-dropdown":!0,states:t.data.states,"defined-states":t.data.definedStates,title:"Governador",candidates:t.governorCandidates,"counted-votes":t.governor.sap,metrics:t.metrics,"active-state":t.selectedState,interrupted:t.interrupted,href:t.href,"is-mobile":t.data.isMobile},on:{onChangeState:t.onChangeState}}):t._e()],1),e("div",{staticClass:"cardElections__footer"},[t.data.isMobile?t._e():e("div",{staticClass:"cardElections__footer__source"},[t._v("\n      FONTE: TSE\n    ")])])])}),[],!1,(function(t){var e=n(567);e.__inject__&&e.__inject__(t)}),null,"739e548c"),"function"==typeof c.a&&c()(u),e.a=u.exports},412:function(t,e,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=n(1),c=n(0),l=function(t){Object(a.a)(n,t);var e=Object(r.a)(n);function n(){return Object(i.a)(this,n),e.apply(this,arguments)}return Object(o.a)(n,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}},{key:"getGroupConfigClass",value:function(){var t=["cardGroup","row","row-cols-1","no-gutters"];return 1!==this.columns&&t.push("row-cols-lg-".concat(this.columns)),t}}]),n}(n(7).c);Object(s.a)([Object(c.c)({required:!0})],l.prototype,"headlines",void 0),Object(s.a)([Object(c.c)({default:1})],l.prototype,"columns",void 0),Object(s.a)([Object(c.c)({required:!0})],l.prototype,"component",void 0),s=l=Object(s.a)([Object(c.a)({name:"CardGroup"})],l),c=n(8),l=n(148),l=n.n(l),s=Object(c.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.getGroupConfigClass()},t._l(t.headlines,(function(e){return n(t.component,t._b({key:e.id,tag:"component",staticClass:"col cardGroup__headline"},"component",e,!1))})),1)}),[],!1,null,null,"6cef2f04"),"function"==typeof l.a&&l()(s),e.a=s.exports},413:function(t,e,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=n(1),c=n(0),l=function(t){Object(a.a)(n,t);var e=Object(r.a)(n);function n(){return Object(i.a)(this,n),e.apply(this,arguments)}return Object(o.a)(n,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}}]),n}(n(7).a);Object(s.a)([Object(c.c)({default:"home"})],l.prototype,"station",void 0),Object(s.a)([Object(c.c)()],l.prototype,"hasHeadlinePhoto",void 0),s=l=Object(s.a)([Object(c.a)({name:"CardGroupVertical"})],l),c=n(8),l=n(149),l=n.n(l),s=Object(c.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.headlineCollection.length?n("div",{staticClass:"cardGroupVertical edgeToEdge--xs"},[t.hasHeadlinePhoto?n("HeadlinePhoto",t._b({staticClass:"cardGroupVertical__principal",attrs:{station:t.station}},"HeadlinePhoto",Object.assign({},t.headlineCollection[0],{metrics:Object.assign({},t.metrics,{position:"1"})}),!1)):t._e(),t._l(t.headlineCollection,(function(e,i){return[i>=(t.hasHeadlinePhoto?1:0)?n("HeadlineHorizontal",t._b({key:e.id,staticClass:"cardGroupVertical__small",attrs:{"icon-on-photo":!1}},"HeadlineHorizontal",Object.assign({},e,{metrics:Object.assign({},t.metrics,{position:(i+1).toString()})}),!1)):t._e()]}))],2):t._e()}),[],!1,(function(t){var e=n(571);e.__inject__&&e.__inject__(t)}),null,"6f0c2265"),"function"==typeof l.a&&l()(s),e.a=s.exports},414:function(t,e,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=n(1),c=n(0),l=function(t){Object(a.a)(n,t);var e=Object(r.a)(n);function n(){return Object(i.a)(this,n),e.apply(this,arguments)}return Object(o.a)(n,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}}]),n}(n(7).a);s=l=Object(s.a)([Object(c.a)({name:"CardHeadlineBottom"})],l),c=n(8),l=n(150),l=n.n(l);s=Object(c.a)(s,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.headlineCollection&&t.headlineCollection.length?n("div",{staticClass:"cardHeadlineBottom"},[n("ul",{staticClass:"cardHeadlineBottom__list row row-cols-1 row-cols-lg-2"},t._l(t.headlineCollection,(function(e,i){return n("li",{key:e.id,staticClass:"cardHeadlineBottom__list__item col"},[n("HeadlineHorizontal",t._b({attrs:{"icon-on-photo":!1}},"HeadlineHorizontal",Object.assign({},e,{metrics:Object.assign({},t.metrics,{position:(i+1).toString()})}),!1))],1)})),0)]):t._e()}),[],!1,(function(t){var e=n(573);e.__inject__&&e.__inject__(t)}),null,"d8c7cb76"),"function"==typeof l.a&&l()(s),e.a=s.exports},415:function(t,e,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=n(1),c=n(0),l=function(t){Object(a.a)(n,t);var e=Object(r.a)(n);function n(){return Object(i.a)(this,n),e.apply(this,arguments)}return Object(o.a)(n,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),n}(n(7).c);Object(s.a)([Object(c.c)()],l.prototype,"responsive",void 0),Object(s.a)([Object(c.c)()],l.prototype,"web",void 0),Object(s.a)([Object(c.c)()],l.prototype,"mobile",void 0),s=l=Object(s.a)([Object(c.a)({name:"CardHeadlineMain"})],l),c=n(8),l=n(151),l=n.n(l),s=Object(c.a)(s,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return t.web&&t.mobile?e("HeadlineMain",t._b({attrs:{metrics:t.metrics}},"HeadlineMain",t.data.isMobile?t.mobile:t.web,!1)):e("HeadlineMain",t._b({attrs:{metrics:t.metrics}},"HeadlineMain",t.responsive,!1))}),[],!1,null,null,"adf161f6"),"function"==typeof l.a&&l()(s),e.a=s.exports},416:function(t,e,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=(n(13),n(58),n(1)),c=n(0),l=function(t){Object(a.a)(n,t);var e=Object(r.a)(n);function n(){return Object(i.a)(this,n),e.apply(this,arguments)}return Object(o.a)(n,[{key:"created",value:function(){}},{key:"getCropImage",value:function(){return this.data.isMobile?"9x16":"16x9"}},{key:"scoreStateName",get:function(){return"ScoreFootball-".concat(this.match.idMatch)}},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),n}(n(7).c);Object(s.a)([Object(c.c)({required:!0})],l.prototype,"match",void 0),Object(s.a)([Object(c.c)({required:!0})],l.prototype,"photo",void 0),Object(s.a)([Object(c.c)({required:!0})],l.prototype,"link",void 0),Object(s.a)([Object(c.c)({required:!0})],l.prototype,"title",void 0),Object(s.a)([Object(c.c)({default:!1})],l.prototype,"isQa",void 0),s=l=Object(s.a)([Object(c.a)({name:"CardHeadlineMainFootball"})],l),c=n(8),l=n(152),l=n.n(l),s=Object(c.a)(s,(function(){var t=this,e=t.$createElement;return(e=t._self._c||e)("article",{staticClass:"cardHealineFootball"},[e("Photograph",t._b({staticClass:"cardHealineFootball__photo edgeToEdge--xs",attrs:{crop:t.getCropImage()}},"Photograph",t.photo,!1)),e("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:t.metrics,expression:"metrics"}],staticClass:"hyperlink cardHealineFootball__link edgeToEdge--xs",attrs:{href:t.link,title:t.title}},[e("WidgetScoreFootball",{attrs:{"is-live":!0,type:"thin",match:t.match}}),e("h2",{class:["cardHealineFootball__kicker","kicker","kicker--highlight"],attrs:{id:t.id},domProps:{textContent:t._s("Ao vivo")}}),e("h3",{staticClass:"cardHealineFootball__title"},[t._v("\n      "+t._s(t.title)+"\n    ")])],1)],1)}),[],!1,(function(t){var e=n(575);e.__inject__&&e.__inject__(t)}),null,"371b6154"),"function"==typeof l.a&&l()(s),e.a=s.exports},417:function(t,e,n){"use strict";var i=n(10),o=n(9),a=n(2),r=n(5),s=n(4),c=n(3),l=n(6),u=n.n(l),d=(n(577),n(12),n(1)),h=n(0);(l=function(t){Object(s.a)(l,t);var e,n=Object(c.a)(l);function l(){var t;return Object(a.a)(this,l),(t=n.apply(this,arguments)).showOpenCard=!1,t.showCloseCard=!0,t.showGateCard=!1,t.isLogged=!1,t.dailyForecast="",t.signCookie="",t.listSigns=Object.freeze({aries:"áries",touro:"touro",gemeos:"gêmeos",cancer:"câncer",leao:"leão",virgem:"virgem",libra:"libra",escorpiao:"escorpião",sagitario:"sagitário",capricornio:"capricórnio",aquario:"aquário",peixes:"peixes"}),t}return Object(r.a)(l,[{key:"bindMetrics",get:function(){return Object(o.a)(Object(o.a)({},this.metrics),{},{label:"content"})}},{key:"actionBindMetrics",value:function(t,e){e=Object(o.a)(Object(o.a)({},this.metrics),{},{area:"universa",position:"".concat(t,"-").concat(e+1)}),this.tools.custom.metrics.interaction(e,this.isLogged?"choice":"login")}},{key:"isLoggedWithCookie",value:function(){return this.isLogged&&!!this.signCookie.length}},{key:"switchToOpenCard",value:function(){this.showOpenCard=!0,this.showCloseCard=!1,this.showGateCard=!1}},{key:"switchToCloseCard",value:function(){this.showCloseCard=!0,this.showOpenCard=!1,this.showGateCard=!1}},{key:"switchToGateCard",value:function(){this.showGateCard=!0,this.showOpenCard=!1,this.showCloseCard=!1}},{key:"switchToOpenCardOrGate",value:function(t){if(this.signCookie=t,this.setCookie(t),this.isLogged)return this.getDailyForecast(t),void this.switchToOpenCard();this.login()}},{key:"getDailyForecast",value:function(t){var e=this;this.fetch.get("/vueland/api/?params=".concat(t,"&loadComponent=Api&api=horoscope&method=getSign")).then((function(t){e.dailyForecast=null===(t=null==t?void 0:t.data)||void 0===t?void 0:t.text}))}},{key:"getLink",value:function(){return"https://www.uol.com.br/universa/horoscopo/".concat(this.signCookie,"/horoscopo-do-dia/")}},{key:"getCookie",value:function(){return this.tools.custom.cookie.getCookie("meuSigno")}},{key:"setCookie",value:function(t){this.tools.custom.cookie.setCookie("meuSigno",t,{expires:730,domain:".uol.com.br"})}},{key:"handleLoggedAndCookie",value:function(){if(this.isLoggedWithCookie())return this.switchToOpenCard(),void this.getDailyForecast(this.signCookie);0!==this.signCookie.length?!this.isLogged&&this.signCookie.length&&this.switchToGateCard():this.switchToCloseCard()}},{key:"handleLoggedIn",value:function(){this.isLogged=!0,this.handleLoggedAndCookie()}},{key:"handleLoggedOut",value:function(){this.isLogged=!1,this.handleLoggedAndCookie()}},{key:"login",value:function(){this.$store.getters.data("UserProfileIsUserLogged")||this.$root.$emit("UserProfileLogin")}},{key:"created",value:function(){}},{key:"mounted",value:(e=Object(i.a)(u.a.mark((function t(){return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.signCookie=this.getCookie(),this.$root.$on("UserProfileLoggedIn",this.handleLoggedIn),this.$root.$on("UserProfileLoggedOut",this.handleLoggedOut),this.$store.getters.data("UserProfileIsUserLogged")&&(this.isLogged=!0),this.handleLoggedAndCookie();case 7:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),l}(n(7).c)).removeInApp=!0,d=l=Object(d.a)([Object(h.a)({name:"CardHoroscope"})],l),h=n(8),l=n(153),l=n.n(l),d=Object(h.a)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"cardHoroscope"},[n("transition",{attrs:{name:"cardHoroscope__fade",mode:"out-in"}},[t.data.isMobile||!t.showOpenCard&&!t.showGateCard?t.data.isMobile&&(t.showOpenCard||t.showGateCard)?n("HeaderCard",{staticClass:"cardHoroscope__header edgeToEdge--xs",attrs:{link:t.getLink(),text:t.listSigns[t.signCookie],icon:t.signCookie,"button-text":t.isLogged?"trocar signo":"",metrics:Object.assign({},t.bindMetrics,{action:"change"})},on:{click:function(e){return t.switchToCloseCard()}}}):t._e():n("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:t.bindMetrics,expression:"bindMetrics"}],staticClass:"hyperlink cardHoroscope__link",attrs:{href:t.getLink(),title:t.listSigns[t.signCookie]}},[n("i",{class:["uolIcons","uolIcons--"+t.signCookie,"cardHoroscope__icon"],attrs:{"aria-hidden":"true"}}),n("span",{staticClass:"cardHoroscope__title"},[t._v("\n        "+t._s(t.listSigns[t.signCookie])+"\n      ")])])],1),n("transition",{attrs:{name:"cardHoroscope__fade",mode:"out-in"}},[t.showOpenCard?n("div",{staticClass:"cardHoroscope__open edgeToEdge--xs"},[n("div",{staticClass:"cardHoroscope__open__desc"},[n("p",{staticClass:"cardHoroscope__title cardHoroscope__title--forecast"},[t._v("\n          "+t._s(t.dailyForecast)+"\n        ")]),n("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.bindMetrics,{position:"2"}),expression:"{...bindMetrics, position: '2'}"}],staticClass:"hyperlink linkExternal cardHoroscope__linkExternal",attrs:{title:"previsão mensal",href:t.getLink()}},[n("span",{staticClass:"linkExternal__text"},[t._v("PREVISÃO MENSAL")]),n("i",{class:["uolIcons","uolIcons--seta-direita","linkExternal__icon"],attrs:{"aria-hidden":"true"}})])]),t.data.isMobile?t._e():n("ButtonHome",{staticClass:"cardHoroscope__button",attrs:{text:"trocar signo",shape:"ghost",metrics:Object.assign({},t.metrics,{action:"change"})},on:{click:function(e){return t.switchToCloseCard()}}})],1):t._e()]),t.showGateCard?n("LoginGate",{staticClass:"cardHoroscope__gate",attrs:{metrics:t.metrics,type:"horoscope",text:"Para continuar vendo as previsões do seu signo, é fácil e rápido"},on:{click:function(e){return t.login()}}}):t._e(),n("transition",{attrs:{name:"cardHoroscope__fade",mode:"out-in"}},[t.showCloseCard?n("div",{staticClass:"cardHoroscope__close edgeToEdge--xs"},[n("span",{staticClass:"cardHoroscope__title cardHoroscope__title--close"},[t._v("\n        Escolha seu signo\n      ")]),n("ul",{staticClass:"cardHoroscope__close__list"},t._l(t.listSigns,(function(e,i,o){return n("li",{key:i,staticClass:"cardHoroscope__close__item",attrs:{tabindex:"0"},on:{click:function(e){t.switchToOpenCardOrGate(i),t.actionBindMetrics(i,o)},keydown:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.switchToOpenCardOrGate(i),t.actionBindMetrics(i,o)}}},[n("i",{class:["uolIcons","uolIcons--"+i,"cardHoroscope__icon"],attrs:{"aria-hidden":"true"}}),n("span",{staticClass:"cardHoroscope__title cardHoroscope__title--sign"},[t._v("\n            "+t._s(e)+"\n          ")])])})),0)]):t._e()])],1)}),[],!1,(function(t){var e=n(578);e.__inject__&&e.__inject__(t)}),null,"019a48e6"),"function"==typeof l.a&&l()(d),e.a=d.exports},419:function(t,e,n){"use strict";var i=n(9),o=n(2),a=n(5),r=n(4),s=n(3),c=(n(39),n(17),n(12),n(1)),l=n(0),u=function(t){Object(r.a)(n,t);var e=Object(s.a)(n);function n(){return Object(o.a)(this,n),e.apply(this,arguments)}return Object(a.a)(n,[{key:"getType",get:function(){var t,e,n="default";return null!==(e=this.headlines)&&void 0!==e&&e.length&&(t=!!this.headlines.find((function(t){return t.photo})),e=!!this.headlines.find((function(t){return t.thinImageWeb})),t?e&&(n="thinImageWeb"):n="thin"),n}},{key:"getSimpleGrid",value:function(t,e){for(var n=[],o=0;o<t.length;o+=1)n.push({name:"HeadlineHorizontalLive",payload:Object(i.a)({type:e},t[o])});return n}},{key:"getGroupGrid",value:function(t){for(var e=[],n=0;n<t.length;n+=2){var i=t[n+1],o=t[n]&&i?2:1,a=[t[n]];i&&a.push(i),e.push({name:"CardGroup",payload:{columns:o,component:"HeadlineHorizontalLive",headlines:a}})}return e}},{key:"carouselComponents",get:function(){var t=this.getType;return"thin"===t||this.isInternalComponentSectionGrid?this.getSimpleGrid(this.headlineMetrics,t):this.getGroupGrid(this.headlineMetrics)}},{key:"headlineMetrics",get:function(){var t=this;return this.headlines.map((function(e,n){var o=Object(i.a)({},e);return o.metrics=Object(i.a)(Object(i.a)({},t.metrics),{},{position:"".concat(null===(e=t.metrics)||void 0===e?void 0:e.position,"-").concat(n+1)}),o}))}},{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}}]),n}(n(7).e);Object(c.a)([Object(l.c)({required:!0})],u.prototype,"headlines",void 0),Object(c.a)([Object(l.c)({default:!1})],u.prototype,"isInternalComponentSectionGrid",void 0),Object(c.a)([Object(l.c)()],u.prototype,"metrics",void 0),c=u=Object(c.a)([Object(l.a)({name:"CardLiveGrid"})],u),l=n(8),u=n(155),u=n.n(u),c=Object(l.a)(c,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return t.headlines&&t.headlines.length?e("div",{class:["cardLiveGrid","cardLiveGrid--"+t.getType]},[e("Carousel",{staticClass:"cardLiveGrid__carousel",attrs:{components:t.carouselComponents,"progress-navigation":!0,"auto-roll":!0,metrics:t.metrics}})],1):t._e()}),[],!1,(function(t){var e=n(582);e.__inject__&&e.__inject__(t)}),null,"043119d5"),"function"==typeof u.a&&u()(c),e.a=c.exports},431:function(t,e,n){"use strict";var i=n(9),o=n(27),a=n(10),r=n(2),s=n(5),c=n(4),l=n(3),u=n(6),d=n.n(u),h=(n(17),n(12),n(15),n(30),n(613),n(22),n(1)),f=n(0);u=function(t){Object(c.a)(u,t);var e,n=Object(l.a)(u);function u(){var t;return Object(r.a)(this,u),(t=n.apply(this,arguments)).showArrowLeft=!1,t.showArrowRigth=!1,t.currentIndex=0,t.touchAxis={x:0,y:0},t.slideTranslate=0,t.isTouched=!1,t.movement={direction:"initial",numberOfMovements:[]},t.transitionTime=500,t.carouselHeight=0,t.hideCard=!1,t}return Object(s.a)(u,[{key:"componentsStyle",get:function(){return this.components.map((function(){return""}))}},{key:"hasCarousel",get:function(){return 1<this.components.length}},{key:"getCarouselContainerStyle",get:function(){var t=this.carouselHeight?"height: ".concat(this.carouselHeight,"px;"):"",e=t.concat("transition: transform ".concat(this.transitionTime,"ms;"));if(!this.isTouched){if("next"===this.movement.direction)return e.concat("transform: translateX(-".concat(this.movement.numberOfMovements.length,"00%)"));if("prev"===this.movement.direction)return e.concat("transform: translateX(".concat(this.movement.numberOfMovements.length,"00%)"));if("initial"===this.movement.direction)return t.concat("transform: translateX(0); transition: none")}if(this.slideTranslate){var n=parseInt(Math.abs(this.slideTranslate).toString(),10),i=this.$refs.carousel.clientWidth,o=this.slideTranslate<0?"-":"";return n<=i?t.concat("transform: translateX(calc(".concat(this.slideTranslate,"px + 0%))")):t.concat("transform: translateX(calc(".concat(o+i,"px + 0%))"))}return e.concat("transform: translateX(-".concat(this.movement.numberOfMovements.length,"00%)"))}},{key:"componentListSize",get:function(){return this.components.length-1}},{key:"hasArrow",get:function(){return!this.progressNavigation&&this.hasCarousel||void 0}},{key:"created",value:function(){}},{key:"mounted",value:(e=Object(a.a)(d.a.mark((function t(){return d.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:this.hasCarousel&&this.setHeight(),this.hideCard=!0,this.startEventName||this.startCarousel();case 5:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"beforeDestroy",value:function(){this.observer&&this.$el&&this.observer.unobserve(this.$el),this.rollTimeout&&window.clearTimeout(this.rollTimeout)}},{key:"setHeight",value:function(){var t=this.$refs.carousel.clientHeight,e=this.$refs.progressIndicator.$el.clientHeight;this.carouselHeight=t-(e===t||e<=8?0:e)}},{key:"startCarousel",value:function(){this.components.length<=1||(this.tools.custom.debug.logMessage("Carrossel: auto roll: ",this.autoRoll),this.autoRoll?(this.tools.custom.debug.logMessage("Carrossel: configura observer para componente"),this.setObserver()):this.tools.custom.debug.logMessage("Carrossel: NÃO configura observer para componente"))}},{key:"hideArrow",value:function(){this.showArrowRigth=!1,this.showArrowLeft=!1}},{key:"showArrow",value:function(t){var e,n;!0!==this.data.isMobile&&(e=(n=this.$refs.carousel).offsetWidth/2,n=n.getClientRects(),e<=t.pageX-(null===(n=n[0])||void 0===n?void 0:n.x)?(this.showArrowRigth=!0,this.showArrowLeft=!1):(this.showArrowRigth=!1,this.showArrowLeft=!0))}},{key:"setObserver",value:function(){var t=this;this.observer=new window.IntersectionObserver((function(e){.3<=Object(o.a)(e,1)[0].intersectionRatio?t.triggerCarouselRoll():t.stopAutoRoll()}),{threshold:.3}),this.observer.observe(this.$el)}},{key:"triggerCarouselRoll",value:function(){var t=this;this.components.length<=1||(this.rollTimeout=window.setTimeout((function(){localStorage.getItem("_cb_hud_collapsed")&&"0"===localStorage.getItem("_cb_hud_collapsed")||t.move(1)}),this.rollTime))}},{key:"stopAutoRoll",value:function(){window.clearTimeout(this.rollTimeout)}},{key:"sendCarouselInteractionMetrics",value:function(t){var e=Object(i.a)(Object(i.a)({},this.metrics),{},{position:t?"2":"1"});this.tools.custom.metrics.interaction(e,t?"right":"left")}},{key:"move",value:function(t,e){function n(){1<=t&&i.moveNextDirection(t),t<=-1&&i.movePrevDirection(t),i.autoRoll&&(i.stopAutoRoll(),i.triggerCarouselRoll())}var i=this;e?(window.clearTimeout(this.clickTimeout),this.clickTimeout=window.setTimeout((function(){n()}),250)):n()}},{key:"moveNextDirection",value:function(t){var e=this;this.movement.direction="next",this.movement.numberOfMovements=new Array(t).fill(t),this.setStyleInNextCurrents(),setTimeout((function(){e.currentIndex>=e.componentListSize?e.currentIndex=0:e.currentIndex+=t,e.movement.direction="initial",e.clearAllStyleInLineOfComponents()}),this.transitionTime)}},{key:"movePrevDirection",value:function(t){var e=this,n=Math.abs(t);this.movement.direction="prev",this.movement.numberOfMovements=new Array(n).fill(n),this.setStyleInPrevCurrents(),setTimeout((function(){0===e.currentIndex?e.currentIndex=e.componentListSize:e.currentIndex+=t,e.clearAllStyleInLineOfComponents(),e.movement.direction="initial"}),this.transitionTime)}},{key:"setStyleInNextCurrents",value:function(){var t=this,e=this.currentIndex;this.movement.numberOfMovements.forEach((function(){var n=e===t.componentListSize?0:e+1;if(0===n)return t.componentsStyle[0]={"margin-left":"100%",display:"inherit"},void(t.componentsStyle[e]={"margin-left":"-".concat(t.movement.numberOfMovements.length+1,"00%")});t.componentsStyle[n]={display:"inherit"},e+=1}))}},{key:"setStyleInPrevCurrents",value:function(){var t=this,e=this.currentIndex;this.movement.numberOfMovements.forEach((function(){var n,i=0===e?t.componentListSize:e-1;i===t.componentListSize?t.componentsStyle[t.componentListSize]={"margin-left":"-200%",display:"inherit"}:1<t.movement.numberOfMovements.length?(n=t.currentIndex-t.movement.numberOfMovements.length,t.componentsStyle[n]={"margin-left":"-".concat(t.movement.numberOfMovements.length,"00%"),display:"inherit"},i!==n&&(t.componentsStyle[i]={display:"inherit"})):t.componentsStyle[i]={"margin-left":"-100%",display:"inherit"},e+=-1}))}},{key:"clearAllStyleInLineOfComponents",value:function(){for(var t=0;this.componentsStyle[t]="",(t+=1)<=this.componentListSize;);}},{key:"handleProgresIndex",value:function(t){this.move(t-this.currentIndex)}},{key:"handleStartTouch",value:function(t){t=(e=Object(o.a)(t.changedTouches,1)[0]).clientX;var e=e.clientY;this.touchAxis.x=t,this.touchAxis.y=e}},{key:"handleSwipe",value:function(t){var e=(n=Object(o.a)(t.changedTouches,1)[0]).clientX,n=n.clientY;this.stopAutoRoll(),this.touchAxis.y===n?(t.cancelable&&t.preventDefault(),e=this.touchAxis.x-e,this.isTouched=!0,this.showNextAndPrevIndex(),this.slideTranslate=-1*e):this.isTouched=!1}},{key:"showNextAndPrevIndex",value:function(){var t=this.currentIndex===this.componentListSize?0:this.currentIndex+1,e=0===this.currentIndex?this.componentListSize:this.currentIndex-1;e===this.componentListSize?this.componentsStyle[this.componentListSize]={"margin-left":"-300%",display:"inherit"}:this.componentsStyle[e]=0===t?{"margin-left":"-300%",display:"inherit"}:{"margin-left":"-100%",display:"inherit"},0===t?this.componentsStyle[0]={"margin-left":"100%",display:"inherit"}:this.componentsStyle[t]={display:"inherit"}}},{key:"handleEndTouch",value:function(t){var e,n=(e=Object(o.a)(t.changedTouches,1)[0]).clientX,i=e.clientY;i=(t=this.touchAxis.y-i)<0?-1*t:t,n=(e=this.touchAxis.x-n)<0?-1*e:e;Math.abs(e)>Math.abs(t)&&(i<50&&10<n?(this.handleTouchCancel(),this.move((e=0<e)?1:-1),this.sendCarouselInteractionMetrics(e)):this.handleTouchCancel())}},{key:"handleTouchCancel",value:function(){this.isTouched=!1,this.slideTranslate=0,this.clearAllStyleInLineOfComponents(),this.autoRoll&&this.triggerCarouselRoll()}},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),u}(n(7).e);Object(h.a)([Object(f.c)()],u.prototype,"station",void 0),Object(h.a)([Object(f.c)({required:!0})],u.prototype,"components",void 0),Object(h.a)([Object(f.c)({default:!1})],u.prototype,"autoRoll",void 0),Object(h.a)([Object(f.c)({default:7e3})],u.prototype,"rollTime",void 0),Object(h.a)([Object(f.c)({default:!1})],u.prototype,"progressNavigation",void 0),Object(h.a)([Object(f.c)()],u.prototype,"startEventName",void 0),Object(h.a)([Object(f.c)({default:"secondary"})],u.prototype,"shapeButton",void 0),Object(h.a)([Object(f.c)()],u.prototype,"metrics",void 0),h=u=Object(h.a)([Object(f.a)({name:"Carousel"})],u),f=n(8),u=n(168),u=n.n(u),h=Object(f.a)(h,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{ref:"carousel",class:["carousel",{"carousel--withProgress":t.hasCarousel}],on:{mouseenter:function(e){return t.stopAutoRoll()},mouseleave:function(e){t.autoRoll&&t.triggerCarouselRoll(),t.hideArrow()},mousemove:function(e){t.hasArrow&&t.showArrow(e)},mouseout:function(e){return t.hideArrow()}}},[t.hasArrow?n("ButtonHome",{class:["carousel__navigation","carousel__navigation--prev",{"carousel__navigation--show":t.showArrowLeft}],attrs:{shape:t.shapeButton,label:"Anterior",metrics:Object.assign({},t.metrics,{position:"1",action:"left"}),icon:"seta-esquerda"},on:{click:function(e){return t.move(-1,e)}}}):t._e(),t.hasArrow?n("ButtonHome",{class:["carousel__navigation","carousel__navigation--next",{"carousel__navigation--show":t.showArrowRigth}],attrs:{shape:t.shapeButton,metrics:Object.assign({},t.metrics,{position:"2",action:"right"}),label:"Próximo",icon:"seta-direita"},on:{click:function(e){return t.move(1,e)}}}):t._e(),n("ul",{staticClass:"carousel__container",style:t.hasCarousel?t.getCarouselContainerStyle:"",on:{touchstart:t.handleStartTouch,touchmove:t.handleSwipe,touchend:t.handleEndTouch,touchcancel:t.handleTouchCancel}},t._l(t.components,(function(e,i){return n("li",{key:e.name+"-"+i,ref:"carouselComponent"+i,refInFor:!0,class:["carousel__component",{"carousel__component--hide":i!==t.currentIndex&&t.hideCard}],style:t.componentsStyle[i],attrs:{"aria-hidden":t.currentIndex===i?null:"true",tabindex:"-1"}},[n(e.name,t._b({tag:"component",on:t._d({},[t.startEventName,t.startCarousel])},"component",e.payload,!1))],1)})),0),t.hasCarousel?n("ProgressIndicator",{ref:"progressIndicator",staticClass:"carousel__progressIndicator",attrs:{id:t.carousel,"aria-live":"off",metrics:t.metrics,"current-index":t.currentIndex,size:t.components.length,"show-navigation":t.progressNavigation},on:{"index-changed":t.handleProgresIndex}}):t._e()],1)}),[],!1,(function(t){var e=n(615);e.__inject__&&e.__inject__(t)}),null,"08507d9b"),"function"==typeof u.a&&u()(h),e.a=h.exports},433:function(t,e,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=n(1),c=n(0),l=function(t){Object(a.a)(n,t);var e=Object(r.a)(n);function n(){return Object(i.a)(this,n),e.apply(this,arguments)}return Object(o.a)(n,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}}]),n}(n(7).e);Object(s.a)([Object(c.c)()],l.prototype,"count",void 0),s=l=Object(s.a)([Object(c.a)({name:"Comments"})],l),c=n(8),l=n(169),l=n.n(l),s=Object(c.a)(s,(function(){var t=this,e=t.$createElement;return(e=t._self._c||e)("span",{staticClass:"comments"},[e("i",{class:["uolIcons","uolIcons--comentario-fill"],attrs:{"aria-hidden":"true"}}),e("span",{staticClass:"uol-hidden"},[t._v("comentarios")]),t.count?e("span",{staticClass:"comments__label"},[t._v(t._s(t.count))]):t._e()])}),[],!1,(function(t){var e=n(617);e.__inject__&&e.__inject__(t)}),null,"23cbb7ca"),"function"==typeof l.a&&l()(s),e.a=s.exports},475:function(t,e,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=n(1),c=n(0),l=function(t){Object(a.a)(n,t);var e=Object(r.a)(n);function n(){var t;return Object(i.a)(this,n),(t=e.apply(this,arguments)).shows=!0,t}return Object(o.a)(n,[{key:"loadingState",get:function(){return this.lazypreload?void 0:"lazy"}},{key:"onHandleError",value:function(){this.shows=!1}},{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}}]),n}(n(7).e);Object(s.a)([Object(c.c)({required:!0})],l.prototype,"name",void 0),Object(s.a)([Object(c.c)({required:!0})],l.prototype,"path",void 0),Object(s.a)([Object(c.c)({default:50})],l.prototype,"width",void 0),Object(s.a)([Object(c.c)({default:50})],l.prototype,"height",void 0),Object(s.a)([Object(c.c)()],l.prototype,"title",void 0),Object(s.a)([Object(c.c)({default:"imagem"})],l.prototype,"description",void 0),Object(s.a)([Object(c.c)({default:!1})],l.prototype,"lazypreload",void 0),s=l=Object(s.a)([Object(c.a)({name:"Icon"})],l),c=n(8),l=n(208),l=n.n(l),s=Object(c.a)(s,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return t.shows?e("div",[e("img",{staticClass:"icon__image",attrs:{loading:t.loadingState,decoding:"async",width:t.width,height:t.height,title:t.title,alt:t.description,src:"https://conteudo.imguol.com.br/c/home/layout/vueland/icons/"+t.path+"/"+t.name+".svg?v4"},on:{error:t.onHandleError}})]):t._e()}),[],!1,(function(t){var e=n(696);e.__inject__&&e.__inject__(t)}),null,"2e3bb8bb"),"function"==typeof l.a&&l()(s),e.a=s.exports},479:function(t,e,n){"use strict";var i=n(10),o=n(2),a=n(5),r=n(4),s=n(3),c=n(6),l=n.n(c),u=(n(12),n(19),n(1)),d=n(0);c=function(t){Object(r.a)(c,t);var e,n=Object(s.a)(c);function c(){var t;return Object(o.a)(this,c),(t=n.apply(this,arguments)).sorted=!1,t}return Object(a.a)(c,[{key:"showIframe",get:function(){return this.active&&this.sorted}},{key:"created",value:function(){}},{key:"mounted",value:(e=Object(i.a)(l.a.mark((function t(){var e;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.tools.custom.debug.logMessage("[".concat(this.$options.name,"] load: ").concat(this.load,"%")),t.next=3,this.$nextTick();case 3:e=this.tools.custom.getParameter.getSingle("loadTest")||100*Math.random(),this.tools.custom.debug.logMessage("[".concat(this.$options.name,"] random: ").concat(e)),this.sorted=e<=this.load;case 6:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"dispatch",value:function(t){t()}}]),c}(n(7).c);Object(u.a)([Object(d.c)({required:!0})],c.prototype,"active",void 0),Object(u.a)([Object(d.c)({required:!0})],c.prototype,"url",void 0),Object(u.a)([Object(d.c)({required:!0})],c.prototype,"load",void 0),u=c=Object(u.a)([Object(d.a)({name:"LoadTest"})],c),d=n(8),c=n(210),c=n.n(c),u=Object(d.a)(u,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return t.showIframe?e("iframe",{staticClass:"loadTest",staticStyle:{display:"none"},attrs:{id:"loadTest",src:t.url}}):t._e()}),[],!1,null,null,"52fa785c"),"function"==typeof c.a&&c()(u),e.a=u.exports},492:function(t,e,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=n(1),c=n(0),l=function(t){Object(a.a)(n,t);var e=Object(r.a)(n);function n(){return Object(i.a)(this,n),e.apply(this,arguments)}return Object(o.a)(n,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}}]),n}(n(7).e);Object(s.a)([Object(c.c)({required:!0})],l.prototype,"text",void 0),s=l=Object(s.a)([Object(c.a)({name:"PhotoCredit"})],l),c=n(8),l=n(219),l=n.n(l),s=Object(c.a)(s,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("p",{staticClass:"photoCredit"},[t._v("\n  Foto: "+t._s(t.text)+"\n")])}),[],!1,(function(t){var e=n(717);e.__inject__&&e.__inject__(t)}),null,"b3763018"),"function"==typeof l.a&&l()(s),e.a=s.exports},513:function(t,e,n){"use strict";var i=n(2),o=n(5),a=n(4),r=n(3),s=(n(15),n(31),n(35),n(12),n(19),n(1)),c=n(0),l=function(t){Object(a.a)(s,t);var e=Object(r.a)(s);function s(){var t;return Object(i.a)(this,s),(t=e.apply(this,arguments)).svgContent="",t.show=!0,t}return Object(o.a)(s,[{key:"created",value:function(){var t=this;n(755)("./".concat(this.path,"/").concat(this.name,".svg")).then((function(e){t.svgContent=e.default})).catch((function(){t.show=!1}))}},{key:"dispatch",value:function(t){t()}}]),s}(n(7).e);Object(s.a)([Object(c.c)({required:!0})],l.prototype,"name",void 0),Object(s.a)([Object(c.c)({default:"symbols"})],l.prototype,"path",void 0),Object(s.a)([Object(c.c)({default:"Icone"})],l.prototype,"description",void 0),s=l=Object(s.a)([Object(c.a)({name:"SvgIcon"})],l),c=n(8),l=n(236),l=n.n(l),s=Object(c.a)(s,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return t.show?e("span",{staticClass:"svgIcon",attrs:{"aria-label":t.description},domProps:{innerHTML:t._s(t.svgContent)}}):t._e()}),[],!1,(function(t){var e=n(756);e.__inject__&&e.__inject__(t)}),null,"172e88f4"),"function"==typeof l.a&&l()(s),e.a=s.exports},550:function(t,e,n){"use strict";n.r(e);var i,o=n(269);for(i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i)},551:function(t,e,n){},556:function(t,e,n){"use strict";n.r(e);var i,o=n(272);for(i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i)},557:function(t,e,n){},558:function(t,e,n){"use strict";n.r(e);var i,o=n(273);for(i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i)},559:function(t,e,n){},562:function(t,e,n){"use strict";n.r(e);var i,o=n(275);for(i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i)},563:function(t,e,n){},564:function(t,e,n){"use strict";n.r(e);var i,o=n(276);for(i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i)},565:function(t,e,n){},567:function(t,e,n){"use strict";n.r(e);var i,o=n(283);for(i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i)},568:function(t,e,n){},571:function(t,e,n){"use strict";n.r(e);var i,o=n(285);for(i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i)},572:function(t,e,n){},573:function(t,e,n){"use strict";n.r(e);var i,o=n(286);for(i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i)},574:function(t,e,n){},575:function(t,e,n){"use strict";n.r(e);var i,o=n(287);for(i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i)},576:function(t,e,n){},578:function(t,e,n){"use strict";n.r(e);var i,o=n(289);for(i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i)},579:function(t,e,n){},582:function(t,e,n){"use strict";n.r(e);var i,o=n(291);for(i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i)},583:function(t,e,n){},615:function(t,e,n){"use strict";n.r(e);var i,o=n(305);for(i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i)},616:function(t,e,n){},617:function(t,e,n){"use strict";n.r(e);var i,o=n(306);for(i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i)},618:function(t,e,n){},696:function(t,e,n){"use strict";n.r(e);var i,o=n(345);for(i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i)},697:function(t,e,n){},717:function(t,e,n){"use strict";n.r(e);var i,o=n(360);for(i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i)},718:function(t,e,n){},756:function(t,e,n){"use strict";n.r(e);var i,o=n(377);for(i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i)},757:function(t,e,n){}}]);
