(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{140:function(t,e){},143:function(t,e){},144:function(t,e){},145:function(t,e){},146:function(t,e){},147:function(t,e){},148:function(t,e){},149:function(t,e){},150:function(t,e){},152:function(t,e){},153:function(t,e){},154:function(t,e){},155:function(t,e){},156:function(t,e){},157:function(t,e){},159:function(t,e){},160:function(t,e){},161:function(t,e){},163:function(t,e){},164:function(t,e){},165:function(t,e){},180:function(t,e){},181:function(t,e){},220:function(t,e){},222:function(t,e){},231:function(t,e){},250:function(t,e){},285:function(t,e,i){var o=i(596);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("987597d2",o,!0,{singleton:!0})},288:function(t,e,i){var o=i(602);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("359e3857",o,!0,{singleton:!0})},289:function(t,e,i){var o=i(604);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("da3ca184",o,!0,{singleton:!0})},290:function(t,e,i){var o=i(606);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("8a03b99c",o,!0,{singleton:!0})},291:function(t,e,i){var o=i(611);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("20ba71be",o,!0,{singleton:!0})},292:function(t,e,i){var o=i(613);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("241fb02b",o,!0,{singleton:!0})},293:function(t,e,i){var o=i(615);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("7e1814ce",o,!0,{singleton:!0})},294:function(t,e,i){var o=i(617);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("96a6841c",o,!0,{singleton:!0})},301:function(t,e,i){var o=i(620);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("47b21383",o,!0,{singleton:!0})},303:function(t,e,i){var o=i(624);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("2a4b3ed7",o,!0,{singleton:!0})},304:function(t,e,i){var o=i(626);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("7430a8b2",o,!0,{singleton:!0})},305:function(t,e,i){var o=i(628);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("5141e3f9",o,!0,{singleton:!0})},306:function(t,e,i){var o=i(630);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("14b245eb",o,!0,{singleton:!0})},309:function(t,e,i){var o=i(635);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("5063fc19",o,!0,{singleton:!0})},310:function(t,e,i){var o=i(637);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("5bf3f6d6",o,!0,{singleton:!0})},311:function(t,e,i){var o=i(639);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("eb5ccf2c",o,!0,{singleton:!0})},313:function(t,e,i){var o=i(646);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("981d49fc",o,!0,{singleton:!0})},314:function(t,e,i){var o=i(648);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("443bd0a8",o,!0,{singleton:!0})},315:function(t,e,i){var o=i(650);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("b04e681e",o,!0,{singleton:!0})},334:function(t,e,i){var o=i(690);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("23a9ecc8",o,!0,{singleton:!0})},335:function(t,e,i){var o=i(692);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("1c92c334",o,!0,{singleton:!0})},374:function(t,e,i){var o=i(771);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("7103ba22",o,!0,{singleton:!0})},385:function(t,e,i){var o=i(787);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("4eba320c",o,!0,{singleton:!0})},404:function(t,e,i){var o=i(826);(o="string"==typeof(o=o.__esModule?o.default:o)?[[t.i,o,""]]:o).locals&&(t.exports=o.locals),(0,i(11).default)("4e33adbe",o,!0,{singleton:!0})},433:function(t,e,i){"use strict";var o=i(9),n=i(2),a=i(5),s=i(4),r=i(3),c=(i(35),i(20),i(1)),l=i(0),u=function(t){Object(s.a)(i,t);var e=Object(r.a)(i);function i(){var t;return Object(n.a)(this,i),(t=e.apply(this,arguments)).isHeadline="headline"===t.type,t}return Object(a.a)(i,[{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:80,height:30,description:"UOL Nossa"},{name:"mov",width:78,height:24,description:"UOL Mov"},{name:"mov-white",width:78,height:24,description:"UOL Mov"},{name:"play",width:123,height:24,description:"UOL Play"},{name:"play-white",width:123,height:24,description:"UOL Play"},{name:"channel",width:136,height:24,description:"Canal UOL"},{name:"channel-white",width:136,height:24,description:"Canal UOL AOVIVO"},{name:"folha",width:147,height:24,description:"Folha de São Paulo"},{name:"uol-prime",width:74,height:20,description:"UOL Prime"},{name:"guia-de-compras",size:{lg:{width:184,height:36},xs:{width:164,height:32}},description:"Guia de compras"}].find((function(e){return e.name===t.icon})),i=this.data.isMobile?"xs":"lg";return i&&null!=e&&e.size&&(e.width=e.size[i].width,e.height=e.size[i].height),Object(o.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({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(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=i(8),u=i(140),u=i.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,attrs:{"data-brand":t.icon}},[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=i(595);e.__inject__&&e.__inject__(t)}),null,"2521462b"),"function"==typeof u.a&&u()(c),e.a=c.exports},436:function(t,e,i){"use strict";var o=i(2),n=i(5),a=i(4),s=i(3),r=i(1),c=i(0),l=function(t){Object(a.a)(i,t);var e=Object(s.a)(i);function i(){var t;return Object(o.a)(this,i),(t=e.apply(this,arguments)).headlineAdKey=0,t}return Object(n.a)(i,[{key:"created",value:function(){}},{key:"onHeadlineCollectionChange",value:function(){!0===this.advertising&&(this.headlineAdKey=(new Date).getTime())}},{key:"dispatch",value:function(t){t()}}]),i}(i(7).a);Object(r.a)([Object(c.c)({default:!1})],l.prototype,"advertising",void 0),Object(r.a)([Object(c.c)({default:function(){return"banner-native-home-area"}})],l.prototype,"headlineAdId",void 0),Object(r.a)([Object(c.e)("headlineCollection")],l.prototype,"onHeadlineCollectionChange",null),r=l=Object(r.a)([Object(c.a)({name:"CardBrandList"})],l),c=i(8),l=i(143),l=i.n(l),r=Object(c.a)(r,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.headlineCollection&&t.headlineCollection.length?i("ul",{staticClass:"cardBrandList"},[t._l(t.headlineCollection,(function(e,o){return i("li",{key:e.id+"-"+o,staticClass:"cardBrandList__item"},[i("HeadlineHorizontalBrand",t._b({attrs:{metrics:Object.assign({},t.metrics,{position:(o+1).toString()})}},"HeadlineHorizontalBrand",e,!1))],1)})),t.advertising?i("li",{staticClass:"cardBrandList__item"},[i("HeadlineHorizontalAd",{key:"advertising-"+t.headlineAdKey,attrs:{id:t.headlineAdId}})],1):t._e()],2):t._e()}),[],!1,(function(t){var e=i(601);e.__inject__&&e.__inject__(t)}),null,"5fae11b5"),"function"==typeof l.a&&l()(r),e.a=r.exports},437:function(t,e,i){"use strict";var o=i(9),n=i(2),a=i(5),s=i(4),r=i(3),c=i(1),l=i(0),u=function(t){Object(s.a)(i,t);var e=Object(r.a)(i);function i(){return Object(n.a)(this,i),e.apply(this,arguments)}return Object(a.a)(i,[{key:"relatedsMetrics",get:function(){if(null!==(t=this.styleHeadline)&&void 0!==t&&t.isPremium){var t="".concat(this.metrics.category,"-subscribe");return Object(o.a)(Object(o.a)({},this.metrics),{},{category:t})}return this.metrics}},{key:"hasRelateds",get:function(){return!(!this.relateds||!this.relateds.length)}},{key:"created",value:function(){}},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(7).c);Object(c.a)([Object(l.c)({required:!0})],u.prototype,"id",void 0),Object(c.a)([Object(l.c)({required:!0})],u.prototype,"link",void 0),Object(c.a)([Object(l.c)({required:!0})],u.prototype,"title",void 0),Object(c.a)([Object(l.c)({required:!0})],u.prototype,"brand",void 0),Object(c.a)([Object(l.c)({required:!0})],u.prototype,"photo",void 0),Object(c.a)([Object(l.c)()],u.prototype,"icon",void 0),Object(c.a)([Object(l.c)()],u.prototype,"kicker",void 0),Object(c.a)([Object(l.c)()],u.prototype,"styleHeadline",void 0),Object(c.a)([Object(l.c)()],u.prototype,"relateds",void 0),Object(c.a)([Object(l.c)()],u.prototype,"showComments",void 0),c=u=Object(c.a)([Object(l.a)({name:"CardBrandSpecial"})],u),l=i(8),u=i(144),u=i.n(u),c=Object(l.a)(c,(function(){var t=this,e=t.$createElement;return(e=t._self._c||e)("div",{staticClass:"cardBrandSpecial"},[e("HeadlineHorizontalBrand",{class:["cardBrandSpecial__headline",{"has-relateds":t.hasRelateds}],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}}),t.hasRelateds?e("RelatedList",{staticClass:"cardBrandSpecial__related-list",attrs:{"related-list":t.relateds,"is-mobile":t.data.isMobile,metrics:t.relatedsMetrics}}):t._e()],1)}),[],!1,(function(t){var e=i(603);e.__inject__&&e.__inject__(t)}),null,"ba3e0b6e"),"function"==typeof u.a&&u()(c),e.a=c.exports},438:function(t,e,i){"use strict";var o=i(2),n=i(5),a=i(4),s=i(3),r=i(1),c=i(0),l=function(t){Object(a.a)(i,t);var e=Object(s.a)(i);function i(){return Object(o.a)(this,i),e.apply(this,arguments)}return Object(n.a)(i,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t({})}}]),i}(i(7).c);Object(r.a)([Object(c.c)()],l.prototype,"url",void 0),r=l=Object(r.a)([Object(c.a)({name:"CardCarnivalStrip"})],l),c=i(8),l=i(145),l=i.n(l),r=Object(c.a)(r,(function(){var t=this,e=t.$createElement;return(e=t._self._c||e)("section",{staticClass:"card-carnival-strip"},[e("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.metrics,{action:t.url,position:"1",label:"carnaval"}),expression:"{...metrics, action: url, position: '1', label: 'carnaval'}"}],staticClass:"carnival-strip hyperlink edgeToEdge--xs",attrs:{href:t.url}},[e("div",{staticClass:"carnival-strip--title"},[t._v("\n      Carnaval 2023\n    ")])]),e("CardAd",{staticClass:"card-carnival-strip--ad",attrs:{id:"selo-carnaval","class-ad":"selo-vertical","custom-class":"carnival","show-label":!1}})],1)}),[],!1,(function(t){var e=i(605);e.__inject__&&e.__inject__(t)}),null,"bb783262"),"function"==typeof l.a&&l()(r),e.a=r.exports},439:function(t,e,i){"use strict";var o=i(10),n=i(9),a=i(2),s=i(5),r=i(4),c=i(3),l=i(6),u=i.n(l),d=(i(71),i(607),i(57),i(35),i(17),i(16),i(29),i(38),i(1)),h=i(0);l=function(t){Object(r.a)(d,t);var e,i,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(s.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,i){var o,a=JSON.parse(JSON.stringify(e));return 0===i&&(a.emitLoadEvent=!0),a.metrics=Object(n.a)(Object(n.a)(Object(n.a)({},t.metrics),null!==(o=e.styleHeadline)&&void 0!==o&&o.isPremium?{category:"".concat(t.metrics.category,"-subscribe")}:{}),{},{position:(i+1).toString()}),{name:t.getItemRender(e),payload:a}}))}},{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:(i=Object(o.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 i.apply(this,arguments)})},{key:"onHeadlineCollectionChange",value:(e=Object(o.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}(i(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=i(8),l=i(146),l=i.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=i(610);e.__inject__&&e.__inject__(t)}),null,"2c8764a4"),"function"==typeof l.a&&l()(d),e.a=d.exports},440:function(t,e,i){"use strict";var o=i(2),n=i(5),a=i(4),s=i(3),r=i(1),c=i(0),l=function(t){Object(a.a)(i,t);var e=Object(s.a)(i);function i(){return Object(o.a)(this,i),e.apply(this,arguments)}return Object(n.a)(i,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}}]),i}(i(7).a);Object(r.a)([Object(c.c)({default:!1})],l.prototype,"advertising",void 0),r=l=Object(r.a)([Object(c.a)({name:"CardColumn"})],l),c=i(8),l=i(147),l=i.n(l),r=Object(c.a)(r,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.headlineCollection.length?i("div",{staticClass:"cardColumn"},[i("div",{staticClass:"row row-cols-1 row-cols-lg-2"},[t._l(t.headlineCollection,(function(e,o){return i("HeadlineStandard",t._b({key:e.id,staticClass:"cardColumn__headlineStandard col"},"HeadlineStandard",Object.assign({},e,{metrics:Object.assign({},t.metrics,{position:(o+1).toString()})}),!1))})),t.advertising?i("div",{staticClass:"cardColumn__headlineStandard col"},[i("div",{staticClass:"cardColumn__headlineAd"},[t._v("\n        Publicidade\n      ")])]):t._e()],2)]):t._e()}),[],!1,(function(t){var e=i(612);e.__inject__&&e.__inject__(t)}),null,"15525924"),"function"==typeof l.a&&l()(r),e.a=r.exports},441:function(t,e,i){"use strict";var o=i(2),n=i(5),a=i(4),s=i(3),r=(i(35),i(1)),c=i(0),l=function(t){Object(a.a)(i,t);var e=Object(s.a)(i);function i(){return Object(o.a)(this,i),e.apply(this,arguments)}return Object(n.a)(i,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}},{key:"cupLinkTable",get:function(){return this.itemCollection.find((function(t){return"tabela-copa"===t.slug}))||{}}},{key:"cupLinkSelection",get:function(){return this.itemCollection.find((function(t){return"selecao"===t.slug}))||{}}}]),i}(i(7).b);r=l=Object(r.a)([Object(c.a)({name:"CardCupHeaderLinks"})],l),c=i(8),l=i(148),l=i.n(l);r=Object(c.a)(r,(function(){var t=this,e=t.$createElement;return(e=t._self._c||e)("div",{staticClass:"cardCupHeaderLinks"},[e("div",{staticClass:"cardCupHeaderLinks__content"},[e("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.metrics,{label:"logo-copa-2023",action:t.cupLinkTable.link}),expression:"{ ...metrics, label: 'logo-copa-2023', action : cupLinkTable.link }"}],staticClass:"hyperlink cardCupHeaderLinks__content__logo",attrs:{href:"https://www.uol.com.br/esporte/futebol/campeonatos/copa-do-mundo-feminina/"}},[e("img",{staticClass:"cardCupHeaderLinks__content__img",attrs:{src:"https://conteudo.imguol.com.br/c/home/layout/vueland/icons/world-cup/2023/world-cup-2023.svg",alt:t.cupLinkTable.title}})]),e("div",{staticClass:"cardCupHeaderLinks__content__links"},[e("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.metrics,{label:"tabela-copa",action:t.cupLinkTable.link}),expression:"{ ...metrics, label: 'tabela-copa', action :cupLinkTable.link}"}],staticClass:"hyperlink cardCupHeaderLinks__content__links__item",attrs:{href:t.cupLinkTable.link}},[t._v("\n        "+t._s(t.cupLinkTable.title)+"\n        "),e("i",{staticClass:"cardCupHeaderLinks__content__links__item__icon",class:["uolIcons","uolIcons--seta-direita"],attrs:{"aria-hidden":"true"}})]),e("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.metrics,{position:"2",label:"videos",action:t.cupLinkSelection.link}),expression:"{ ...metrics, position:'2', label: 'videos', action : cupLinkSelection.link }"}],staticClass:"hyperlink cardCupHeaderLinks__content__links__item",attrs:{href:t.cupLinkSelection.link}},[t._v("\n        "+t._s(t.cupLinkSelection.title)+"\n        "),e("i",{staticClass:"cardCupHeaderLinks__content__links__item__icon",class:["uolIcons","uolIcons--seta-direita"],attrs:{"aria-hidden":"true"}})])]),t.data.isMobile?t._e():e("div",{staticClass:"cardCupHeaderLinks__content__border"})]),e("CardAd",{staticClass:"cardCupHeaderLinks__advertising",attrs:{id:"selo-copa","class-ad":"selo-copa"}})],1)}),[],!1,(function(t){var e=i(614);e.__inject__&&e.__inject__(t)}),null,"35865f0a"),"function"==typeof l.a&&l()(r),e.a=r.exports},442:function(t,e,i){"use strict";var o=i(2),n=i(5),a=i(4),s=i(3),r=(i(19),i(1)),c=i(0),l=function(t){Object(a.a)(i,t);var e=Object(s.a)(i);function i(){return Object(o.a)(this,i),e.apply(this,arguments)}return Object(n.a)(i,[{key:"created",value:function(){}},{key:"isSingleMatch",get:function(){return 1===this.matchs.length}},{key:"filteredMatchs",get:function(){return this.data.isMobile||"3-colunas"!==this.position?this.matchs.slice(0,4):this.matchs.slice(0,3)}},{key:"dispatch",value:function(t){var e=[{tag:"script",closeTag:!0,attrs:[{key:"src",value:"/vueland/assets/?loadComponent=Media&contentType=js&scope=assets/dist&asset=usocket.js&cache=".concat("202201051530")},{key:"onload",value:"document.dispatchEvent(new CustomEvent('distLoaded:usocket'));"},{key:"type",value:"module"},{key:"async",value:"async"}]}];this.tools.appendResource().before(e),t({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(7).c);Object(r.a)([Object(c.c)({required:!0})],l.prototype,"id",void 0),Object(r.a)([Object(c.c)({required:!0})],l.prototype,"matchs",void 0),Object(r.a)([Object(c.c)({required:!0})],l.prototype,"position",void 0),r=l=Object(r.a)([Object(c.a)({name:"CardCupScore"})],l),c=i(8),l=i(149),l=i.n(l),r=Object(c.a)(r,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{staticClass:"cardCupScore",attrs:{"aria-labelledby":t.id}},[i("div",{staticClass:"cardCupScore__container edgeToEdge--xs"},[i("ul",{staticClass:"cardCupScore__matchs",class:{"cardCupScore__matchs--singleMatch":t.isSingleMatch}},t._l(t.filteredMatchs,(function(e,o){return i("WidgetCupScore",{key:"match-"+e.idMatch,staticClass:"cardCupScore__matchs__match",attrs:{metrics:Object.assign({},t.metrics,{position:""+(o+1),label:"jogo"}),match:e,"is-live":!0,"is-single-match":t.isSingleMatch}},[!t.data.isMobile&&0<o?i("span",{staticClass:"cardCupScore__matchs__separator"},[i("span",{staticClass:"cardCupScore__matchs__separator__icon"},[t._v("\n            ◆\n          ")])]):t._e()])})),1)])])}),[],!1,(function(t){var e=i(616);e.__inject__&&e.__inject__(t)}),null,"3e0df23b"),"function"==typeof l.a&&l()(r),e.a=r.exports},443:function(t,e,i){"use strict";var o=i(10),n=i(2),a=i(5),s=i(4),r=i(3),c=i(6),l=i.n(c),u=(i(12),i(35),i(18),i(13),i(56),i(52),i(19),i(14),i(16),i(58),i(29),i(53),i(27),i(30),i(73),i(1)),d=i(0);c=function(t){Object(s.a)(f,t);var e,i,c,u,d,h,p=Object(r.a)(f);function f(){var t;return Object(n.a)(this,f),(t=p.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)(f,[{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,i=this;t&&(function(){try{t.forEach((function(t){t.nu=function(t){if(t.length<26)return t||"";var e=t.split(" "),i=[];return 2<e.length?(e.forEach((function(t,o){0!==o&&o!==e.length-1&&2<t.length?i.push("".concat(t.charAt(0),".")):i.push(t)})),i.join(" ")):t}(t.nu)}))}catch(t){i.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(o.a)(l.a.mark((function t(e,i){var n,a,s,r,c,u,d=this;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n="governor"===i?"governorData":"presidentData",a=null===(u=null==e?void 0:e.replace(this.data.prefix,""))||void 0===u?void 0:u.split("-"),s=(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"),r=function(t){(t=t.data).error?d.data[n]=d.errorMsg:d.data[n]=t},c=function(){d.data[n]=d.errorMsg},u=function(){var t=Object(o.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[i]||(d.timeouts[i]=setInterval(Object(o.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,i);case 2:case"end":return t.stop()}}),t)}))),3e4)),d.firstLoad&&"president"===i)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(s).then(r).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(o.a)(l.a.mark((function t(e,i,n){var a,s,r=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,i),t.abrupt("return");t.next=3;break;case 3:return t.next=5,this.tools.custom.socket.connect(e);case 5:a=t.sent,n||(this.tryConnection[e]=2),console.log("Trying to connect : ",e),this.timeouts[i]&&(clearTimeout(this.timeouts[i]),this.timeouts[i]=null),s=function(){0<r.tryConnection[e]?(--r.tryConnection[e],setTimeout(Object(o.a)(l.a.mark((function t(){return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.connect(e,i,!0);case 2:r.sockets[i]=t.sent;case 3:case"end":return t.stop()}}),t)}))),250)):(r.tryConnection[e]=null,r.polling(e,i))},a.onError((function(t){r.tools.custom.debug.logError(e,"Erro na conexão com o socket",t),s()})),a.onMessage((function(t){t.invalidChannel?s():r.data["governor"===i?"governorData":"presidentData"]=t})),a.onClose((function(){return console.log(e,"socket: closed")})),this.sockets[i]=a;case 14:case"end":return t.stop()}}),t,this)}))),function(t,e,i){return d.apply(this,arguments)})},{key:"connectGovernor",value:(u=Object(o.a)(l.a.mark((function t(e){var i;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=this.getChannel(e),t.next=3,this.connect(i,"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(o.a)(l.a.mark((function t(){var e,i;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"),i=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(i,"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:(i=Object(o.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 i.apply(this,arguments)})},{key:"beforeDestroy",value:function(){Object.values(this.sockets).forEach((function(t){t.close&&t.close()}))}},{key:"dispatch",value:(e=Object(o.a)(l.a.mark((function t(e){var i,o,n;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:i=this.apis.custom.elections,o=this.tools.request.getParams("interrupted"),n=this.tools.request.getParams("tooltip"),this.tools.loadDistAsset(this.tools.custom.socket.distName),e({governorData:{},presidentData:{},isMobile:this.tools.userAgent.isSmart(),prefix:i.getPrefix(),states:i.getStates(),definedStates:i.getDefinedStates(),qa:{interrupted:o,tooltip:n}});case 5:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})}]),f}(i(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=i(8),c=i(150),c=i.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=i(619);e.__inject__&&e.__inject__(t)}),null,"739e548c"),"function"==typeof c.a&&c()(u),e.a=u.exports},445:function(t,e,i){"use strict";var o=i(2),n=i(5),a=i(4),s=i(3),r=i(1),c=i(0),l=function(t){Object(a.a)(i,t);var e=Object(s.a)(i);function i(){return Object(o.a)(this,i),e.apply(this,arguments)}return Object(n.a)(i,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}},{key:"getGroupConfigClass",value:function(){var t=["cardGroup","row","no-gutters"];return this.isHorizontal||t.push("row-cols-1"),1!==this.columns&&t.push("row-cols-lg-".concat(this.columns)),t}}]),i}(i(7).c);Object(r.a)([Object(c.c)({required:!0})],l.prototype,"headlines",void 0),Object(r.a)([Object(c.c)({default:1})],l.prototype,"columns",void 0),Object(r.a)([Object(c.c)({required:!0})],l.prototype,"component",void 0),Object(r.a)([Object(c.c)({default:!1})],l.prototype,"isHorizontal",void 0),r=l=Object(r.a)([Object(c.a)({name:"CardGroup"})],l),c=i(8),l=i(152),l=i.n(l),r=Object(c.a)(r,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{class:t.getGroupConfigClass()},t._l(t.headlines,(function(e){return i(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()(r),e.a=r.exports},446:function(t,e,i){"use strict";var o=i(10),n=i(2),a=i(5),s=i(4),r=i(3),c=i(6),l=i.n(c),u=(i(13),i(53),i(38),i(19),i(17),i(18),i(1)),d=i(0);c=function(t){Object(s.a)(c,t);var e,i=Object(r.a)(c);function c(){var t;return Object(n.a)(this,c),(t=i.apply(this,arguments)).premiumIcon=!1,t}return Object(a.a)(c,[{key:"automatic",get:function(){return!!this.tags}},{key:"created",value:function(){}},{key:"getTags",get:function(){return this.tags.match(/\d+/g)}},{key:"items",get:function(){var t;return null!==(t=this.headlineCollection)&&void 0!==t&&t.length?this.headlineCollection:this.data.items||[]}},{key:"showLoading",get:function(){return!this.items.length}},{key:"dispatch",value:(e=Object(o.a)(l.a.mark((function t(e){var i,o,n;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.tags){t.next=3;break}return e(),t.abrupt("return");case 3:return t.prev=3,t.next=6,this.apis.custom.automatedNews.getNews(this.station,this.amount);case 6:i=t.sent,o=function(t){var e;return{id:t.id,title:t.title,link:t.link,photo:{altCrops:["900x506"],images:[{src:(e=t.image).src}],credit:e.credit},styleHeadline:{isPremium:void 0!==(e=t.premium)&&e},icon:"video"===t.type?"noticia-video":""}},o=null==i?void 0:i.map(o).slice(0,this.amount),n=this.tools.custom.images.getNewCrop,o.forEach((function(t,e){0===e?(t.photo.crop="4x3",t.photo.images[0].src=n(t.photo.images[0].src,"450x253")):(t.photo.crop="1x1",t.photo.images[0].src=n(t.photo.images[0].src,"300x300"))})),e({items:o}),t.next=17;break;case 14:t.prev=14,t.t0=t.catch(3),e();case 17:case"end":return t.stop()}}),t,this,[[3,14]])}))),function(t){return e.apply(this,arguments)})}]),c}(i(7).a);Object(u.a)([Object(d.c)({default:"home"})],c.prototype,"station",void 0),Object(u.a)([Object(d.c)()],c.prototype,"hasHeadlinePhoto",void 0),Object(u.a)([Object(d.c)()],c.prototype,"tags",void 0),Object(u.a)([Object(d.c)()],c.prototype,"amount",void 0),u=c=Object(u.a)([Object(d.a)({name:"CardGroupVertical"})],c),d=i(8),c=i(153),c=i.n(c),u=Object(d.a)(u,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.items.length?i("div",{staticClass:"cardGroupVertical edgeToEdge--xs",class:{cardGroupVerticalAuto:t.automatic,"cardGroupVertical--loading":t.showLoading}},[t.hasHeadlinePhoto?i("HeadlinePhoto",t._b({staticClass:"cardGroupVertical__principal",attrs:{station:t.station}},"HeadlinePhoto",Object.assign({},t.items[0],{metrics:Object.assign({},t.metrics,{position:"1"})}),!1)):t._e(),t._l(t.items,(function(e,o){return[o>=(t.hasHeadlinePhoto?1:0)?i("HeadlineHorizontal",t._b({key:e.id,staticClass:"cardGroupVertical__small",attrs:{"icon-on-photo":!1}},"HeadlineHorizontal",Object.assign({},e,{metrics:Object.assign({},t.metrics,{position:(o+1).toString()}),premiumIcon:t.premiumIcon}),!1)):t._e()]})),i("transition",{attrs:{name:"fade",mode:"out-in"}},[t.showLoading?i("div",{staticClass:"cardGroupVertical__loading"},t._l([1,2,3],(function(t){return i("div",{key:t,staticClass:"cardGroupVertical__loading__container"},[i("div",{staticClass:"cardGroupVertical__loading__group"},[i("span",{staticClass:"cardGroupVertical__loading__photo loading__skeleton"}),i("div",{staticClass:"cardGroupVertical__loading__container__title"},[i("span",{staticClass:"cardGroupVertical__loading__title loading__skeleton cardGroupVertical__loading__title--large"}),i("span",{staticClass:"cardGroupVertical__loading__title loading__skeleton cardGroupVertical__loading__title--medium"})])])])})),0):t._e()])],2):t._e()}),[],!1,(function(t){var e=i(623);e.__inject__&&e.__inject__(t)}),null,"6f0c2265"),"function"==typeof c.a&&c()(u),e.a=u.exports},447:function(t,e,i){"use strict";var o=i(2),n=i(5),a=i(4),s=i(3),r=i(1),c=i(0),l=function(t){Object(a.a)(i,t);var e=Object(s.a)(i);function i(){return Object(o.a)(this,i),e.apply(this,arguments)}return Object(n.a)(i,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}}]),i}(i(7).a);r=l=Object(r.a)([Object(c.a)({name:"CardHeadlineBottom"})],l),c=i(8),l=i(154),l=i.n(l);r=Object(c.a)(r,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.headlineCollection&&t.headlineCollection.length?i("div",{staticClass:"cardHeadlineBottom"},[i("ul",{staticClass:"cardHeadlineBottom__list row row-cols-1 row-cols-lg-2"},t._l(t.headlineCollection,(function(e,o){return i("li",{key:e.id,staticClass:"cardHeadlineBottom__list__item col"},[i("HeadlineHorizontal",t._b({attrs:{"icon-on-photo":!1}},"HeadlineHorizontal",Object.assign({},e,{metrics:Object.assign({},t.metrics,{position:(o+1).toString()})}),!1))],1)})),0)]):t._e()}),[],!1,(function(t){var e=i(625);e.__inject__&&e.__inject__(t)}),null,"d8c7cb76"),"function"==typeof l.a&&l()(r),e.a=r.exports},448:function(t,e,i){"use strict";var o=i(2),n=i(5),a=i(4),s=i(3),r=i(1),c=i(0),l=function(t){Object(a.a)(i,t);var e=Object(s.a)(i);function i(){return Object(o.a)(this,i),e.apply(this,arguments)}return Object(n.a)(i,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(7).c);Object(r.a)([Object(c.c)()],l.prototype,"responsive",void 0),Object(r.a)([Object(c.c)()],l.prototype,"web",void 0),Object(r.a)([Object(c.c)()],l.prototype,"mobile",void 0),r=l=Object(r.a)([Object(c.a)({name:"CardHeadlineMain"})],l),c=i(8),l=i(155),l=i.n(l),r=Object(c.a)(r,(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()(r),e.a=r.exports},449:function(t,e,i){"use strict";var o=i(2),n=i(5),a=i(4),s=i(3),r=(i(13),i(53),i(1)),c=i(0),l=function(t){Object(a.a)(i,t);var e=Object(s.a)(i);function i(){return Object(o.a)(this,i),e.apply(this,arguments)}return Object(n.a)(i,[{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){var e=[{tag:"script",closeTag:!0,attrs:[{key:"src",value:"/vueland/assets/?loadComponent=Media&contentType=js&scope=assets/dist&asset=usocket.js&cache=".concat("202201051530")},{key:"onload",value:"document.dispatchEvent(new CustomEvent('distLoaded:usocket'));"},{key:"type",value:"module"},{key:"async",value:"async"}]}];this.tools.appendResource().before(e),t({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(7).c);Object(r.a)([Object(c.c)({required:!0})],l.prototype,"match",void 0),Object(r.a)([Object(c.c)({required:!0})],l.prototype,"photo",void 0),Object(r.a)([Object(c.c)({required:!0})],l.prototype,"link",void 0),Object(r.a)([Object(c.c)({required:!0})],l.prototype,"title",void 0),Object(r.a)([Object(c.c)({default:!1})],l.prototype,"isQa",void 0),r=l=Object(r.a)([Object(c.a)({name:"CardHeadlineMainFootball"})],l),c=i(8),l=i(156),l=i.n(l),r=Object(c.a)(r,(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=i(627);e.__inject__&&e.__inject__(t)}),null,"371b6154"),"function"==typeof l.a&&l()(r),e.a=r.exports},450:function(t,e,i){"use strict";var o=i(9),n=i(2),a=i(5),s=i(4),r=i(3),c=(i(17),i(23),i(73),i(28),i(32),i(1)),l=i(0),u=function(t){Object(s.a)(i,t);var e=Object(r.a)(i);function i(){var t;return Object(n.a)(this,i),(t=e.apply(this,arguments)).key=1,t}return Object(a.a)(i,[{key:"getRowComponents",get:function(){return this.headlineCollection.map(this.mergeVersionProp)}},{key:"getComponents",get:function(){var t=this,e=this.getRows,i=this.mergeVersionProp;e=this.headlineCollection.map(i).reduce(e,{});return Object.values(e).filter((function(e){return e.length===t.limit})).map((function(e){return e={component:"HeadlineHorizontalAvatar",items:e},{name:"CardHorizontalRow",payload:Object(o.a)(Object(o.a)({},e),{},{metrics:t.metrics})}}))}},{key:"hasCarrouselData",get:function(){return this.getComponents&&!!this.getComponents.length}},{key:"limit",get:function(){return this.isFourColumns?4:3}},{key:"isFourColumns",get:function(){return"4-colunas"===this.type}},{key:"mergeVersionProp",value:function(t,e){return Object(o.a)(Object(o.a)({},t),{},{position:e+1,horizontal:!0})}},{key:"getRows",value:function(t,e,i){return t[this.key]=t[this.key]||[],0!==i&&i%this.limit==0&&(this.key+=1,t[this.key]=t[this.key]||[]),e&&(e.metrics=Object(o.a)(Object(o.a)({},this.metrics),{},{position:i+1})),t[this.key].push(e),t}},{key:"getHeaderStyle",get:function(){var t=this.station;return this.station.includes("esporte")&&(t="esporte"),t=this.tools.custom.style.getStationColor(t),{"border-top":"2px solid ".concat(t)}}},{key:"created",value:function(){}},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(7).a);Object(c.a)([Object(l.c)({default:"home"})],u.prototype,"station",void 0),Object(c.a)([Object(l.c)({required:!0})],u.prototype,"type",void 0),Object(c.a)([Object(l.c)({required:!0})],u.prototype,"metrics",void 0),c=u=Object(c.a)([Object(l.a)({name:"CardHorizontalBlogs"})],u),l=i(8),u=i(157),u=i.n(u),c=Object(l.a)(c,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return t.headlineCollection&&t.headlineCollection.length?e("section",{staticClass:"cardHorizontalBlogs",style:t.getHeaderStyle,attrs:{"data-type":t.isFourColumns?"4-columns":"3-columns"}},[!t.data.isMobile&&t.hasCarrouselData?e("Carousel",{staticClass:"edgeToEdge--xs",attrs:{components:t.getComponents,"progress-navigation":!1,metrics:t.metrics,"show-progress-indicator":!1,"shape-button":"primary","calculate-height":!1}}):e("CardHorizontalRow",{attrs:{items:t.getRowComponents,component:"HeadlineHorizontalAvatar",metrics:t.metrics}})],1):t._e()}),[],!1,(function(t){var e=i(629);e.__inject__&&e.__inject__(t)}),null,"6727a701"),"function"==typeof u.a&&u()(c),e.a=c.exports},452:function(t,e,i){"use strict";var o=i(10),n=i(9),a=i(2),s=i(5),r=i(4),c=i(3),l=i(6),u=i.n(l),d=(i(633),i(12),i(1)),h=i(0);l=function(t){Object(r.a)(l,t);var e,i=Object(c.a)(l);function l(){var t;return Object(a.a)(this,l),(t=i.apply(this,arguments)).showOpenCard=!1,t.showCloseCard=!0,t.showGateCard=!1,t.isLogged=!1,t.dailyForecast="",t.userSign="",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(s.a)(l,[{key:"bindMetrics",get:function(){return Object(n.a)(Object(n.a)({},this.metrics),{},{category:"card-horoscopo",label:"content"})}},{key:"actionBindMetrics",value:function(t,e){e=Object(n.a)(Object(n.a)({},this.metrics),{},{category:"card-horoscopo",position:"".concat(t,"-").concat(e+1)}),this.tools.custom.metrics.interaction(e,this.isLogged?"choice":"login")}},{key:"isLoggedWithCookie",value:function(){return this.isLogged&&!!this.userSign.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.userSign=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){t=e.tools.custom.string.limitChar(null===(t=null==t?void 0:t.data)||void 0===t?void 0:t.text,90,"...",!1),e.dailyForecast=t}))}},{key:"getLink",value:function(){return"https://www.uol.com.br/universa/horoscopo/".concat(this.userSign,"/horoscopo-do-dia/")}},{key:"getCookie",value:function(){return this.tools.custom.cookie.getCookie("meuSigno")}},{key:"getDMP",value:function(t){return(t=null===(t=null==t?void 0:t.preferencias)||void 0===t?void 0:t["bloco-customizado-mulher"])&&this.setCookie(t),t}},{key:"setCookie",value:function(t){this.tools.custom.cookie.setCookie("meuSigno",t,{expires:730,domain:".uol.com.br"})}},{key:"handleLoggedAndCookie",value:function(){var t,e;if(this.isLoggedWithCookie())return this.switchToOpenCard(),void this.getDailyForecast(this.userSign);0!==(null===(t=this.userSign)||void 0===t?void 0:t.length)?!this.isLogged&&null!==(e=this.userSign)&&void 0!==e&&e.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(o.a)(u.a.mark((function t(){return u.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.userSign=this.getCookie()||this.getDMP(this.$store.getters.data("UserPreferences")),t.next=3,this.$nextTick();case 3: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}(i(7).c),d=l=Object(d.a)([Object(h.a)({name:"CardHoroscope"})],l),h=i(8),l=i(159),l=i.n(l);d=Object(h.a)(d,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cardHoroscope"},[i("transition",{attrs:{name:"cardHoroscope__fade",mode:"out-in"}},[t.data.isMobile||!t.showOpenCard&&!t.showGateCard?t.data.isMobile&&(t.showOpenCard||t.showGateCard)?i("HeaderCard",{staticClass:"cardHoroscope__header edgeToEdge--xs",attrs:{link:t.getLink(),text:t.listSigns[t.userSign],icon:t.userSign,"button-text":t.isLogged?"trocar signo":"",metrics:Object.assign({},t.bindMetrics,{action:"change"})},on:{click:function(e){return t.switchToCloseCard()}}}):t._e():i("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.userSign]}},[i("i",{class:["uolIcons","uolIcons--"+t.userSign,"cardHoroscope__icon"],attrs:{"aria-hidden":"true"}}),i("span",{staticClass:"cardHoroscope__title"},[t._v("\n        "+t._s(t.listSigns[t.userSign])+"\n      ")])])],1),i("transition",{attrs:{name:"cardHoroscope__fade",mode:"out-in"}},[t.showOpenCard?i("div",{staticClass:"cardHoroscope__open edgeToEdge--xs"},[i("div",{staticClass:"cardHoroscope__open__desc"},[i("p",{staticClass:"cardHoroscope__title cardHoroscope__title--forecast"},[t._v("\n          "+t._s(t.dailyForecast)+"\n        ")]),i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.bindMetrics,{position:"1"}),expression:"{...bindMetrics, position: '1'}"}],staticClass:"hyperlink linkExternal cardHoroscope__linkExternal",attrs:{title:"Previsão completa",href:t.getLink()}},[i("span",{staticClass:"linkExternal__text"},[t._v("PREVISÃO COMPLETA")]),i("i",{class:["uolIcons","uolIcons--seta-direita","linkExternal__icon"],attrs:{"aria-hidden":"true"}})])]),t.data.isMobile?t._e():i("ButtonHome",{staticClass:"cardHoroscope__button",attrs:{text:"trocar signo",shape:"ghost",metrics:Object.assign({},t.metrics,{category:"card-horoscopo",action:"change"})},on:{click:function(e){return t.switchToCloseCard()}}})],1):t._e()]),t.showGateCard?i("LoginGate",{staticClass:"cardHoroscope__gate",attrs:{metrics:Object.assign({},t.metrics,{category:"card-horoscopo"}),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(),i("transition",{attrs:{name:"cardHoroscope__fade",mode:"out-in"}},[t.showCloseCard?i("div",{staticClass:"cardHoroscope__close edgeToEdge--xs"},[i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.bindMetrics,{position:"1",label:"escolha-signo"}),expression:"{...bindMetrics, position: '1', label: 'escolha-signo'}"}],staticClass:"cardHoroscope__title cardHoroscope__title--close",attrs:{href:"https://www.uol.com.br/universa/horoscopo/previsao-diaria/"}},[t._v("\n        HORÓSCOPO\n      ")]),i("ul",{staticClass:"cardHoroscope__close__list"},t._l(t.listSigns,(function(e,o,n){return i("li",{key:o,staticClass:"cardHoroscope__close__item",attrs:{tabindex:"0"},on:{click:function(e){t.switchToOpenCardOrGate(o),t.actionBindMetrics(o,n)},keydown:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.switchToOpenCardOrGate(o),t.actionBindMetrics(o,n)}}},[i("i",{class:["uolIcons","uolIcons--"+o,"cardHoroscope__icon"],attrs:{"aria-hidden":"true"}}),i("span",{staticClass:"cardHoroscope__title cardHoroscope__title--sign"},[t._v("\n            "+t._s(e)+"\n          ")])])})),0)]):t._e()])],1)}),[],!1,(function(t){var e=i(634);e.__inject__&&e.__inject__(t)}),null,"019a48e6"),"function"==typeof l.a&&l()(d),e.a=d.exports},453:function(t,e,i){"use strict";var o=i(9),n=i(2),a=i(5),s=i(4),r=i(3),c=(i(18),i(12),i(1)),l=i(0),u=function(t){Object(s.a)(i,t);var e=Object(r.a)(i);function i(){return Object(n.a)(this,i),e.apply(this,arguments)}return Object(a.a)(i,[{key:"getComponents",get:function(){var t=this,e=[];return this.headlineCollection.forEach((function(i,n){e.push({name:"HeadlineHorizontalLive",payload:Object(o.a)(Object(o.a)({},i),{},{metrics:Object(o.a)(Object(o.a)({},t.metrics),{},{position:"".concat(null===(i=t.metrics)||void 0===i?void 0:i.position,"-").concat(n+1)})})})})),e}},{key:"created",value:function(){}},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(7).a);Object(c.a)([Object(l.c)({default:1,required:!0})],u.prototype,"quantityShow",void 0),Object(c.a)([Object(l.c)({default:!1})],u.prototype,"isInternalComponentSectionGrid",void 0),c=u=Object(c.a)([Object(l.a)({name:"CardLive"})],u),l=i(8),u=i(160),u=i.n(u),c=Object(l.a)(c,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return t.headlineCollection&&t.headlineCollection.length?e("div",{staticClass:"cardLive"},[t.data.isMobile?e("Accordion",{staticClass:"cardLive__accordion",attrs:{components:t.getComponents,"quantity-show":t.quantityShow,"quantity-load":t.headlineCollection.length-t.quantityShow,metrics:t.metrics}}):e("CardLiveGrid",{attrs:{headlines:t.headlineCollection,metrics:t.metrics,"is-internal-component-section-grid":t.isInternalComponentSectionGrid}})],1):t._e()}),[],!1,(function(t){var e=i(636);e.__inject__&&e.__inject__(t)}),null,"cc3bb2b8"),"function"==typeof u.a&&u()(c),e.a=c.exports},454:function(t,e,i){"use strict";var o=i(9),n=i(2),a=i(5),s=i(4),r=i(3),c=(i(35),i(17),i(12),i(1)),l=i(0),u=function(t){Object(s.a)(i,t);var e=Object(r.a)(i);function i(){return Object(n.a)(this,i),e.apply(this,arguments)}return Object(a.a)(i,[{key:"getType",get:function(){var t,e,i="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&&(i="thinImageWeb"):i="thin"),i}},{key:"getSimpleGrid",value:function(t,e){for(var i=[],n=0;n<t.length;n+=1)i.push({name:"HeadlineHorizontalLive",payload:Object(o.a)({type:e},t[n])});return i}},{key:"getGroupGrid",value:function(t){for(var e=[],i=0;i<t.length;i+=2){var o=t[i+1],n=t[i]&&o?2:1,a=[t[i]];o&&a.push(o),e.push({name:"CardGroup",payload:{columns:n,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,i){var n=Object(o.a)({},e);return n.metrics=Object(o.a)(Object(o.a)({},t.metrics),{},{position:"".concat(null===(e=t.metrics)||void 0===e?void 0:e.position,"-").concat(i+1)}),n}))}},{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}}]),i}(i(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=i(8),u=i(161),u=i.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=i(638);e.__inject__&&e.__inject__(t)}),null,"043119d5"),"function"==typeof u.a&&u()(c),e.a=c.exports},456:function(t,e,i){"use strict";var o,n,a=i(10),s=i(9),r=i(2),c=i(5),l=i(4),u=i(3),d=i(6),h=i.n(d),p=(i(16),i(29),i(12),i(35),i(642),i(13),i(14),i(1)),f=i(0),v=i(7);(d=o=o||{}).RESULTS="results",d.VOTE="vote",(d=n=n||{}).voteSucess="Voto realizado com sucesso!",d.voteFailed="Problema para votar, tente novamente.",d.partialResultFailed="Problema para recuperar o resultado, tente novamente.",d.userOffline="Você está offline, verifique sua conexão.",d.invalidCaptcha="Encontramos um problema para validar seu voto. Tente novamente.",(v=function(t){Object(l.a)(v,t);var e,i,d,p,f=Object(u.a)(v);function v(){var t;return Object(r.a)(this,v),(t=f.apply(this,arguments)).selectedOption="",t.messageReturn="",t.controlStates={isLogged:!1,showGatekeeper:!1,showResults:!1,voteComputedSucess:!1,showLoadingPartialResults:!1,showLoadingComputingVote:!1,failedRequest:!1,voteAfterLogin:!1,captchaReady:!1,applyVoteAgain:!1},t.gatekeeperData={headText:"você já votou uma vez na enquete!",midText:{text:"Seja assinante para votar quantas vezes quiser e tenha acesso ilimitado a todo conteúdo UOL.",highlight:"acesso ilimitado"},benefits:["Mais de 190 colunistas renomados","Dicas de investimentos","E mais: Esporte, Horóscopo e conteúdo exclusivo dos maiores jornais do país"],metrics:t.metrics},t}return Object(c.a)(v,[{key:"validIdPoll",value:function(){return this.getIdCookie()===this.pollId.toString()&&(this.controlStates.applyVoteAgain=!0),this.controlStates.applyVoteAgain}},{key:"buttonText",get:function(){var t=(e=this.controlStates).isLogged,e=e.applyVoteAgain;return t&&e?"VOTAR DE NOVO":"VOTAR"}},{key:"metricsVotedComputed",get:function(){return this.controlStates.isLogged&&this.controlStates.applyVoteAgain?Object(s.a)(Object(s.a)({},this.metrics),{},{action:"vote-again-logged"}):Object(s.a)(Object(s.a)({},this.metrics),{},{action:this.controlStates.isLogged?"vote-logged":"vote-logged-out"})}},{key:"onOptionChange",value:function(){this.selectedOption&&this.setSessionStorage(this.selectedOption)}},{key:"showPartialResults",value:(p=Object(a.a)(h.a.mark((function t(){var e;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.controlStates.showLoadingPartialResults=!0,t.next=3,this.requestPoll(o.RESULTS);case 3:null!=(e=t.sent)&&e.error||null==e||!e.data?this.showMessageError(n.partialResultFailed):(this.resultPoll=e.data,this.controlStates.showResults=!0,this.controlStates.showLoadingPartialResults=!1);case 5:case"end":return t.stop()}}),t,this)}))),function(){return p.apply(this,arguments)})},{key:"requestPoll",value:(d=Object(a.a)(h.a.mark((function t(e){var i,o=this;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=this.getUrlRequest(e),t.next=3,this.fetch.get(i,{cacheTTL:0,onOffline:function(){return o.showMessageError(n.userOffline)}},{credentials:"include"});case 3:return i=(i=t.sent).data,t.abrupt("return",i?{data:i,error:!1}:{error:!0});case 6:case"end":return t.stop()}}),t,this)}))),function(t){return d.apply(this,arguments)})},{key:"getUrlRequest",value:function(t){var e="https://enquete.uol.com.br/".concat(t,"?id=").concat(this.pollId);return t===o.VOTE&&(e+="&answers=".concat(this.selectedOption,"&g-recaptcha-response=").concat(this.captchaToken)),e}},{key:"showMessageError",value:function(t){var e=this;this.controlStates.failedRequest=!0,this.controlStates.showLoadingComputingVote=!1,this.messageReturn=t,setTimeout((function(){e.controlStates.voteComputedSucess=!1,e.controlStates.failedRequest=!1,e.controlStates.showLoadingPartialResults=!1}),3e3)}},{key:"validateVote",value:(i=Object(a.a)(h.a.mark((function t(){var e;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.controlStates.isLogged){t.next=14;break}if(this.controlStates.captchaReady){t.next=4;break}return this.showMessageError(n.invalidCaptcha),t.abrupt("return");case 4:return t.next=6,window.grecaptcha.enterprise.execute("6LeSwIsdAAAAAH2urtWmGXzsbhOnhBq2dKq5qW4v",{action:"VOTAR"});case 6:return this.captchaToken=t.sent,this.controlStates.showLoadingComputingVote=!0,t.next=10,this.requestPoll(o.VOTE);case 10:null!=(e=t.sent)&&e.data&&!e.error?(this.resultVote=e.data,this.executeCodeReturn()):this.showMessageError(n.voteFailed),t.next=16;break;case 14:this.controlStates.voteAfterLogin=!0,this.login();case 16:case"end":return t.stop()}}),t,this)}))),function(){return i.apply(this,arguments)})},{key:"executeCodeReturn",value:function(){1===this.resultVote.code?this.computedVote():3===this.resultVote.code?this.toggleGatekeeper():this.showMessageError(n.invalidCaptcha)}},{key:"computedVote",value:(e=Object(a.a)(h.a.mark((function t(){var e=this;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.messageReturn=n.voteSucess,this.controlStates.voteComputedSucess=!0,this.controlStates.showResults=!0,this.controlStates.applyVoteAgain=!0,this.selectedOption="",this.setIdCookie("".concat(this.pollId)),this.setSessionStorage(this.selectedOption),setTimeout((function(){e.requestPoll(o.RESULTS).then((function(t){e.resultPoll=t.data||e.resultVote,e.controlStates.showLoadingComputingVote=!1,e.controlStates.voteComputedSucess=!1}))}),3e3);case 8:case"end":return t.stop()}}),t,this)}))),function(){return e.apply(this,arguments)})},{key:"getQtdAnswers",get:function(){switch(this.itemCollection.length){case 3:return"cardPoll__answers--three";case 4:return"cardPoll__answers--four";case 5:return"cardPoll__answers--five";default:return"cardPoll__answers--two"}}},{key:"getPercentVote",value:function(t){var e=null===(i=this.resultPoll)||void 0===i?void 0:i.answers.find((function(e){return e.id===parseInt(t,10)}));if(e){var i=e.percent.toString();return(i=parseInt(i,10)!==parseFloat(i)?e.percent.toFixed(2):"".concat(i,".00")).replace(/\./,",")}return"0"}},{key:"bindMetrics",value:function(t){(t=Object(s.a)(Object(s.a)({},this.metrics),t)).action&&this.tools.custom.metrics.interaction(t,t.action)}},{key:"setSessionStorage",value:function(t){sessionStorage.setItem("homePollOption-".concat(this.pollId),t)}},{key:"setIdCookie",value:function(t){this.tools.custom.cookie.setCookie("idPoll-".concat(t),t,{expires:10,domain:".uol.com.br"})}},{key:"getIdCookie",value:function(){return this.tools.custom.cookie.getCookie("idPoll-".concat(this.pollId))}},{key:"toggleGatekeeper",value:function(){this.controlStates.showGatekeeper=!this.controlStates.showGatekeeper,this.tools.custom.overlayToggle.setOverlay(this.controlStates.showGatekeeper),this.controlStates.showGatekeeper?(this.data.isMobile&&(this.$root.$emit("toggleMenu"),this.$root.$emit("toggleZIndex")),this.$root.$on("overlayCloseAction",this.toggleGatekeeper),this.tools.custom.metrics.send(Object(s.a)(Object(s.a)({},this.gatekeeperData.metrics),{},{category:"paywall",action:"impressao",label:"componente-visualizado",abTest20:"home-".concat(this.metrics.area,"-").concat(this.metrics.category)}),"event")):(this.$root.$emit("toggleZIndex"),this.$root.$off("overlayCloseAction"),this.controlStates.showLoadingComputingVote=!1)}},{key:"handleLoggedIn",value:function(){this.controlStates.isLogged=!0,this.controlStates.voteAfterLogin&&this.selectedOption.length&&(this.validateVote(),this.controlStates.voteAfterLogin=!1)}},{key:"handleLoggedOut",value:function(){this.controlStates.isLogged=!1}},{key:"login",value:function(){this.$store.getters.data("UserProfileIsUserLogged")||this.$root.$emit("UserProfileLogin")}},{key:"created",value:function(){this.$root.$on("UserProfileLoggedIn",this.handleLoggedIn),this.$root.$on("UserProfileLoggedOut",this.handleLoggedOut)}},{key:"loadCaptcha",value:function(){var t=this;window.grecaptcha.enterprise.ready((function(){t.controlStates.captchaReady=!0}))}},{key:"mounted",value:function(){var t;this.validIdPoll(),window.grecaptcha?this.$nextTick(this.loadCaptcha):((t=document.createElement("script")).id="recaptchaScript",t.src="https://www.google.com/recaptcha/enterprise.js?render=6LeSwIsdAAAAAH2urtWmGXzsbhOnhBq2dKq5qW4v",t.onload=this.loadCaptcha.bind(this),document.head.appendChild(t)),this.$store.getters.data("UserProfileIsUserLogged")&&this.handleLoggedIn(),this.selectedOption=sessionStorage.getItem("homePollOption-".concat(this.pollId))||""}},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),v}(v.b)).removeInApp=!0,Object(p.a)([Object(f.c)({required:!0})],v.prototype,"pollTitle",void 0),Object(p.a)([Object(f.c)({required:!0})],v.prototype,"pollId",void 0),Object(p.a)([Object(f.c)()],v.prototype,"disclaimer",void 0),Object(p.a)([Object(f.e)("selectedOption")],v.prototype,"onOptionChange",null),p=v=Object(p.a)([Object(f.a)({name:"CardPoll"})],v),f=i(8),v=i(163),v=i.n(v),p=Object(f.a)(p,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"cardPoll"},[t.controlStates.showLoadingComputingVote&&!t.controlStates.voteComputedSucess?i("div",{staticClass:"cardPoll__loading__ellipsis loading__ellipsis"},[i("div"),i("div"),i("div"),i("div")]):t._e(),i("p",{directives:[{name:"show",rawName:"v-show",value:t.controlStates.voteComputedSucess||t.controlStates.failedRequest,expression:"controlStates.voteComputedSucess || controlStates.failedRequest"}],class:["cardPoll__messageReturn alert",{"alert--failed":t.controlStates.failedRequest}]},[t._v("\n    "+t._s(t.messageReturn)+"\n  ")]),i("div",{class:["cardPoll__container",{"cardPoll--opacity":t.controlStates.showLoadingComputingVote||t.controlStates.failedRequest},t.getQtdAnswers]},[i("h3",{staticClass:"cardPoll__title"},[t._v("\n      "+t._s(t.pollTitle)+"\n    ")]),t.itemCollection&&t.itemCollection.length?i("div",{staticClass:"cardPoll__options"},t._l(t.itemCollection,(function(e,o){return i("div",{directives:[{name:"show",rawName:"v-show",value:!t.controlStates.voteComputedSucess,expression:"!controlStates.voteComputedSucess"}],key:e.id+"-"+o,class:["cardPoll__options__item",{"cardPoll__options__item--disabled":t.selectedOption&&t.selectedOption!==e.id}],attrs:{tabindex:"0"},on:{click:function(i){i.preventDefault(),t.selectedOption=e.id,t.bindMetrics({position:e.slug+"-"+(o+1),action:t.showResults?"result-choice":"choice"})},keydown:function(i){if(!i.type.indexOf("key")&&t._k(i.keyCode,"enter",13,i.key,"Enter"))return null;t.selectedOption=e.id,t.bindMetrics({position:e.slug+"-"+(o+1),action:t.showResults?"result-choice":"choice"})}}},[i("Photograph",t._b({staticClass:"cardPoll__options__photo",attrs:{crop:"1x1",type:"avatar"}},"Photograph",e.photo,!1)),i("div",{staticClass:"cardPoll__options__container"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedOption,expression:"selectedOption"}],staticClass:"cardPoll__options__container__input",attrs:{id:"poll-"+e.id,tabindex:"-1",type:"radio",name:"optionsPoll"},domProps:{value:e.id,checked:t._q(t.selectedOption,e.id)},on:{change:function(i){t.selectedOption=e.id}}}),i("label",{attrs:{for:"poll-"+e.id}},[t._v(t._s(e.title))]),t.controlStates.showLoadingPartialResults?i("span",{staticClass:"cardPoll__loading__percent loading__skeleton"}):t._e(),t.controlStates.showResults&&!t.controlStates.showLoadingPartialResults?i("p",{staticClass:"cardPoll__options__container__percent"},[t._v("\n            "+t._s(t.getPercentVote(e.id))+"\n          ")]):t._e()])],1)})),0):t._e(),i("ButtonHome",{class:["cardPoll__buttonVote",{"cardPoll__buttonVote--applyVoteAgain":t.controlStates.applyVoteAgain}],attrs:{disabled:!t.selectedOption.length,metrics:Object.assign({},t.metricsVotedComputed),text:t.buttonText},on:{click:function(e){return t.validateVote()}}})],1),i("div",{class:["cardPoll__bottom",{"cardPoll--opacity":t.controlStates.showLoadingComputingVote||t.controlStates.failedRequest}]},[i("div",{staticClass:"cardPoll__bottom--information"},[t.disclaimer?i("p",{staticClass:"cardPoll__bottom__disclaimer"},[t._v("\n        "+t._s(t.disclaimer)+"\n      ")]):t._e(),t._m(0)]),t.controlStates.showResults||t.controlStates.showLoadingPartialResults?t._e():i("ButtonHome",{staticClass:"cardPoll__bottom__buttonResult",attrs:{shape:"ghost",text:"RESULTADO PARCIAL",metrics:Object.assign({},t.metrics,{action:"result"})},on:{click:function(e){return t.showPartialResults()}}}),t.controlStates.showLoadingPartialResults?i("span",{staticClass:"cardPoll__loading__result loading__skeleton"}):t._e(),t.resultPoll&&t.resultPoll.votes&&t.controlStates.showResults&&!t.controlStates.showLoadingComputingVote?i("p",{staticClass:"cardPoll__bottom__result"},[t._v("\n      "+t._s(t.resultPoll.votes)+" VOTOS\n    ")]):t._e()],1),i("Gatekeeper",t._b({directives:[{name:"show",rawName:"v-show",value:t.controlStates.showGatekeeper,expression:"controlStates.showGatekeeper"}],staticClass:"cardPoll__gatekeeper",on:{closeGate:t.toggleGatekeeper}},"Gatekeeper",t.gatekeeperData,!1)),i("div",{staticClass:"g-recaptcha",attrs:{"data-sitekey":"6LeSwIsdAAAAAH2urtWmGXzsbhOnhBq2dKq5qW4v","data-size":"invisible"}})],1)}),[function(){var t=this,e=t.$createElement;return(e=t._self._c||e)("p",{staticClass:"cardPoll__bottom__recaptcha"},[t._v("\n        Este site é protegido pelo reCAPTCHA e pelo Google\n        "),e("a",{staticClass:"cardPoll__bottom__recaptcha__link",attrs:{href:"https://policies.google.com/privacy",target:"_blank"}},[t._v("Política de Privacidade")]),t._v(" e\n        "),e("a",{staticClass:"cardPoll__bottom__recaptcha__link",attrs:{href:"https://policies.google.com/terms",target:"_blank"}},[t._v("Termos de serviço")]),t._v(".\n      ")])}],!1,(function(t){var e=i(645);e.__inject__&&e.__inject__(t)}),null,"c6a117f8"),"function"==typeof v.a&&v()(p),e.a=p.exports},457:function(t,e,i){"use strict";var o=i(2),n=i(5),a=i(4),s=i(3),r=i(1),c=i(0),l=function(t){Object(a.a)(i,t);var e=Object(s.a)(i);function i(){var t;return Object(o.a)(this,i),(t=e.apply(this,arguments)).show=!0,t}return Object(n.a)(i,[{key:"created",value:function(){}},{key:"handlePhotoError",value:function(){this.show=!1}},{key:"dispatch",value:function(t){t()}}]),i}(i(7).a);r=l=Object(r.a)([Object(c.a)({name:"CardPrime"})],l),c=i(8),l=i(164),l=i.n(l);r=Object(c.a)(r,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.headlineCollection.length&&t.show?i("section",{staticClass:"cardPrime"},[i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.metrics,{label:"uol-prime-home"}),expression:"{ ...metrics, label: 'uol-prime-home' }"}],staticClass:"cardPrime__header hyperlink cardPrime__link",attrs:{href:"https://www.uol.com.br/prime/"}},[t._m(0)]),i("div",{staticClass:"cardPrime__content"},[i("ul",{staticClass:"cardPrime__list"},t._l(t.headlineCollection,(function(e,o){return i("li",{key:e.id,staticClass:"cardPrime__item"},[e.photo.images.length?i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.metrics,{label:"abrir-chamada",position:""+(o+1)}),expression:"{ ...metrics,label: 'abrir-chamada', position: `${index+1}` }"}],staticClass:"cardPrime__item__link hyperlink cardPrime__link",attrs:{href:e.link}},[i("article",{staticClass:"cardPrime__poster",attrs:{"aria-labelledby":e.id}},[i("photograph",{staticClass:"cardPrime__poster__image",attrs:{images:e.photo.images,credit:e.title,"emit-error-event":!0,"sharp-border":!0,crop:"3x4","emit-load-event":!0},on:{loadError:t.handlePhotoError}})],1),e.styleHeadline.isPremium?i("div",{staticClass:"cardPrime__premium"},[i("span",{staticClass:"kicker--premium kicker--premium"})]):t._e()]):t._e()])})),0)])]):t._e()}),[function(){var t=this.$createElement;return(t=this._self._c||t)("div",{staticClass:"cardPrime__header__wrapper",attrs:{"aria-hidden":"true"}},[t("img",{staticClass:"cardPrime__header__logo",attrs:{src:"https://conteudo.imguol.com.br/c/home/layout/vueland/icons/brand/uol-prime-white.svg"}}),t("img",{staticClass:"cardPrime__header__subtitle",attrs:{src:"https://conteudo.imguol.com.br/c/home/layout/vueland/icons/brand/uol-prime-subtitle.svg"}})])}],!1,(function(t){var e=i(647);e.__inject__&&e.__inject__(t)}),null,"7494b1f8"),"function"==typeof l.a&&l()(r),e.a=r.exports},458:function(t,e,i){"use strict";var o=i(2),n=i(5),a=i(4),s=i(3),r=i(1),c=i(0),l=function(t){Object(a.a)(i,t);var e=Object(s.a)(i);function i(){var t;return Object(o.a)(this,i),(t=e.apply(this,arguments)).show=!0,t}return Object(n.a)(i,[{key:"created",value:function(){}},{key:"handlePhotoError",value:function(){this.show=!1}},{key:"dispatch",value:function(t){t({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(7).a);r=l=Object(r.a)([Object(c.a)({name:"CardPrimeHighlight"})],l),c=i(8),l=i(165),l=i.n(l);r=Object(c.a)(r,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.headlineCollection.length&&t.show?i("section",{staticClass:"cardPrimeHighlight"},t._l(t.headlineCollection,(function(e,o){return i("article",{key:e.id,staticClass:"cardPrimeHighlight__item"},[e.photo.images.length?i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},t.metrics,{label:"content",position:""+(o+1)}),expression:"{ ...metrics,label: 'content', position: `${index+1}` }"}],staticClass:"cardPrimeHighlight__item__link hyperlink cardPrimeHighlight__link",attrs:{href:e.link}},[i("photograph",{staticClass:"cardPrimeHighlight__poster__image",attrs:{images:e.photo.images,credit:e.title,crop:t.data.isMobile?"":"4x3","emit-error-event":!0,"emit-load-event":!0},on:{loadError:t.handlePhotoError}}),i("div",{staticClass:"cardPrimeHighlight__info"},[t.data.isMobile?t._e():i("h3",{staticClass:"cardPrimeHighlight__title"},[t._v("\n          "+t._s(e.title)+"\n        ")]),e.styleHeadline.isPremium?i("div",{staticClass:"cardPrimeHighlight__premium"},[i("span",{staticClass:"kicker--premium kicker--premium"})]):t._e()])],1):t._e()])})),0):t._e()}),[],!1,(function(t){var e=i(649);e.__inject__&&e.__inject__(t)}),null,"8fc0e38e"),"function"==typeof l.a&&l()(r),e.a=r.exports},472:function(t,e,i){"use strict";var o=i(9),n=i(31),a=i(10),s=i(2),r=i(5),c=i(4),l=i(3),u=i(6),d=i.n(u),h=(i(17),i(12),i(16),i(29),i(687),i(18),i(1)),p=i(0);u=function(t){Object(c.a)(u,t);var e,i=Object(l.a)(u);function u(){var t;return Object(s.a)(this,u),(t=i.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(r.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=this.calculateHeight?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 i=parseInt(Math.abs(this.slideTranslate).toString(),10),o=this.$refs.carousel.clientWidth,n=this.slideTranslate<0?"-":"";return i<=o?t.concat("transform: translateX(calc(".concat(this.slideTranslate,"px + 0%))")):t.concat("transform: translateX(calc(".concat(n+o,"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,i;!0!==this.data.isMobile&&(e=(i=this.$refs.carousel).offsetWidth/2,i=i.getClientRects(),e<=t.pageX-(null===(i=i[0])||void 0===i?void 0:i.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(n.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(o.a)(Object(o.a)({},this.metrics),{},{position:t?"2":"1"});this.tools.custom.metrics.interaction(e,t?"right":"left")}},{key:"move",value:function(t,e){function i(){1<=t&&o.moveNextDirection(t),t<=-1&&o.movePrevDirection(t),o.autoRoll&&(o.stopAutoRoll(),o.triggerCarouselRoll())}var o=this;e?(window.clearTimeout(this.clickTimeout),this.clickTimeout=window.setTimeout((function(){i()}),250)):i()}},{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,i=Math.abs(t);this.movement.direction="prev",this.movement.numberOfMovements=new Array(i).fill(i),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 i=e===t.componentListSize?0:e+1;if(0===i)return t.componentsStyle[0]={"margin-left":"100%",display:"inherit"},void(t.componentsStyle[e]={"margin-left":"-".concat(t.movement.numberOfMovements.length+1,"00%")});t.componentsStyle[i]={display:"inherit"},e+=1}))}},{key:"setStyleInPrevCurrents",value:function(){var t=this,e=this.currentIndex;this.movement.numberOfMovements.forEach((function(){var i,o=0===e?t.componentListSize:e-1;o===t.componentListSize?t.componentsStyle[t.componentListSize]={"margin-left":"-200%",display:"inherit"}:1<t.movement.numberOfMovements.length?(i=t.currentIndex-t.movement.numberOfMovements.length,t.componentsStyle[i]={"margin-left":"-".concat(t.movement.numberOfMovements.length,"00%"),display:"inherit"},o!==i&&(t.componentsStyle[o]={display:"inherit"})):t.componentsStyle[o]={"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(n.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=(i=Object(n.a)(t.changedTouches,1)[0]).clientX,i=i.clientY;this.stopAutoRoll(),this.touchAxis.y===i?(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,i=(e=Object(n.a)(t.changedTouches,1)[0]).clientX,o=e.clientY;o=(t=this.touchAxis.y-o)<0?-1*t:t,i=(e=this.touchAxis.x-i)<0?-1*e:e;Math.abs(e)>Math.abs(t)&&(o<50&&10<i?(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}(i(7).e);Object(h.a)([Object(p.c)()],u.prototype,"station",void 0),Object(h.a)([Object(p.c)({required:!0})],u.prototype,"components",void 0),Object(h.a)([Object(p.c)({default:!0})],u.prototype,"calculateHeight",void 0),Object(h.a)([Object(p.c)({default:!1})],u.prototype,"autoRoll",void 0),Object(h.a)([Object(p.c)({default:7e3})],u.prototype,"rollTime",void 0),Object(h.a)([Object(p.c)({default:!1})],u.prototype,"progressNavigation",void 0),Object(h.a)([Object(p.c)()],u.prototype,"startEventName",void 0),Object(h.a)([Object(p.c)({default:"secondary"})],u.prototype,"shapeButton",void 0),Object(h.a)([Object(p.c)({default:!0})],u.prototype,"showProgressIndicator",void 0),Object(h.a)([Object(p.c)()],u.prototype,"metrics",void 0),h=u=Object(h.a)([Object(p.a)({name:"Carousel"})],u),p=i(8),u=i(180),u=i.n(u),h=Object(p.a)(h,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("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?i("ButtonHome",{class:["carousel__navigation","carousel__navigation--prev",{"carousel__navigation--show":t.showArrowLeft}],attrs:{shape:t.shapeButton,label:"Anterior",metrics:Object.assign({},t.metrics,{position:"navigation-1",action:"left"}),icon:"seta-esquerda"},on:{click:function(e){return t.move(-1,e)}}}):t._e(),t.hasArrow?i("ButtonHome",{class:["carousel__navigation","carousel__navigation--next",{"carousel__navigation--show":t.showArrowRigth}],attrs:{shape:t.shapeButton,metrics:Object.assign({},t.metrics,{position:"navigation-2",action:"right"}),label:"Próximo",icon:"seta-direita"},on:{click:function(e){return t.move(1,e)}}}):t._e(),i("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,o){return i("li",{key:e.name+"-"+o,ref:"carouselComponent"+o,refInFor:!0,class:["carousel__component",{"carousel__component--hide":o!==t.currentIndex&&t.hideCard}],style:t.componentsStyle[o],attrs:{"aria-hidden":t.currentIndex===o?null:"true",tabindex:"-1"}},[i(e.name,t._b({tag:"component",on:t._d({},[t.startEventName,t.startCarousel])},"component",e.payload,!1))],1)})),0),t.hasCarousel?i("ProgressIndicator",{directives:[{name:"show",rawName:"v-show",value:t.showProgressIndicator,expression:"showProgressIndicator"}],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=i(689);e.__inject__&&e.__inject__(t)}),null,"08507d9b"),"function"==typeof u.a&&u()(h),e.a=h.exports},474:function(t,e,i){"use strict";var o=i(2),n=i(5),a=i(4),s=i(3),r=(i(35),i(42),i(28),i(32),i(1)),c=i(0),l=function(t){Object(a.a)(i,t);var e=Object(s.a)(i);function i(){var t;return Object(o.a)(this,i),(t=e.apply(this,arguments)).icon="comments",t.commentCounter={},t}return Object(n.a)(i,[{key:"created",value:function(){}},{key:"mounted",value:function(){this.commentCounter=JSON.parse(localStorage.getItem("commentCounter")),this.hasStorageComment()}},{key:"hasStorageComment",value:function(){var t=this,e=Object.keys(null===(e=null===(e=this.commentCounter)||void 0===e?void 0:e.value)||void 0===e?void 0:e.data).find((function(e){return e.includes(t.href)}));e&&(this.count=100<=this.commentCounter.value.data[e]?"99+":this.commentCounter.value.data[e])}},{key:"dispatch",value:function(t){t()}}]),i}(i(7).e);Object(r.a)([Object(c.c)({required:!0})],l.prototype,"href",void 0),Object(r.a)([Object(c.c)({default:"#b80e17"})],l.prototype,"iconColor",void 0),Object(r.a)([Object(c.c)({default:"16px"})],l.prototype,"iconRatio",void 0),r=l=Object(r.a)([Object(c.a)({name:"Comments"})],l),c=i(8),l=i(181),l=i.n(l),r=Object(c.a)(r,(function(){var t=this,e=t.$createElement;return(e=t._self._c||e)("span",{directives:[{name:"show",rawName:"v-show",value:t.count,expression:"count"}],staticClass:"comments"},[e("SvgIcon",{class:"comments__icon uolIcons",attrs:{name:t.icon,description:"icone comentários",width:t.iconRatio,height:t.iconRatio,"icon-color":t.iconColor}}),e("span",{staticClass:"comments__label",style:{color:""+t.iconColor}},[t._v(t._s(t.count))])],1)}),[],!1,(function(t){var e=i(691);e.__inject__&&e.__inject__(t)}),null,"23cbb7ca"),"function"==typeof l.a&&l()(r),e.a=r.exports},516:function(t,e,i){"use strict";var o=i(2),n=i(5),a=i(4),s=i(3),r=i(1),c=i(0),l=function(t){Object(a.a)(i,t);var e=Object(s.a)(i);function i(){var t;return Object(o.a)(this,i),(t=e.apply(this,arguments)).shows=!0,t}return Object(n.a)(i,[{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()}}]),i}(i(7).e);Object(r.a)([Object(c.c)({required:!0})],l.prototype,"name",void 0),Object(r.a)([Object(c.c)({required:!0})],l.prototype,"path",void 0),Object(r.a)([Object(c.c)({default:50})],l.prototype,"width",void 0),Object(r.a)([Object(c.c)({default:50})],l.prototype,"height",void 0),Object(r.a)([Object(c.c)()],l.prototype,"title",void 0),Object(r.a)([Object(c.c)({default:"imagem"})],l.prototype,"description",void 0),Object(r.a)([Object(c.c)({default:!1})],l.prototype,"lazypreload",void 0),r=l=Object(r.a)([Object(c.a)({name:"Icon"})],l),c=i(8),l=i(220),l=i.n(l),r=Object(c.a)(r,(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?v7","data-icon":t.name},on:{error:t.onHandleError}})]):t._e()}),[],!1,(function(t){var e=i(770);e.__inject__&&e.__inject__(t)}),null,"2e3bb8bb"),"function"==typeof l.a&&l()(r),e.a=r.exports},520:function(t,e,i){"use strict";var o=i(10),n=i(2),a=i(5),s=i(4),r=i(3),c=i(6),l=i.n(c),u=(i(12),i(20),i(1)),d=i(0);c=function(t){Object(s.a)(c,t);var e,i=Object(r.a)(c);function c(){var t;return Object(n.a)(this,c),(t=i.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(o.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}(i(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=i(8),c=i(222),c=i.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},533:function(t,e,i){"use strict";var o=i(2),n=i(5),a=i(4),s=i(3),r=i(1),c=i(0),l=function(t){Object(a.a)(i,t);var e=Object(s.a)(i);function i(){return Object(o.a)(this,i),e.apply(this,arguments)}return Object(n.a)(i,[{key:"created",value:function(){}},{key:"dispatch",value:function(t){t()}}]),i}(i(7).e);Object(r.a)([Object(c.c)({required:!0})],l.prototype,"text",void 0),r=l=Object(r.a)([Object(c.a)({name:"PhotoCredit"})],l),c=i(8),l=i(231),l=i.n(l),r=Object(c.a)(r,(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=i(786);e.__inject__&&e.__inject__(t)}),null,"b3763018"),"function"==typeof l.a&&l()(r),e.a=r.exports},556:function(t,e,i){"use strict";var o=i(10),n=i(2),a=i(5),s=i(4),r=i(3),c=i(6),l=i.n(c),u=(i(16),i(27),i(30),i(12),i(20),i(1)),d=i(0);c=function(t){Object(s.a)(u,t);var e,c=Object(r.a)(u);function u(){var t;return Object(n.a)(this,u),(t=c.apply(this,arguments)).show=!0,t}return Object(a.a)(u,[{key:"created",value:function(){}},{key:"setStyle",value:function(){return{width:this.width,height:this.height,fill:this.iconColor}}},{key:"dispatch",value:(e=Object(o.a)(l.a.mark((function t(e){var o,n=this;return l.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o="",t.next=3,i(824)("./".concat(this.path,"/").concat(this.name,".svg")).then((function(t){o=t.default})).catch((function(){n.show=!1}));case 3:e({svgContent:o});case 4:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})}]),u}(i(7).e);Object(u.a)([Object(d.c)({required:!0})],c.prototype,"name",void 0),Object(u.a)([Object(d.c)({default:"symbols"})],c.prototype,"path",void 0),Object(u.a)([Object(d.c)({default:"Icone"})],c.prototype,"description",void 0),Object(u.a)([Object(d.c)({default:"24px"})],c.prototype,"width",void 0),Object(u.a)([Object(d.c)({default:"24px"})],c.prototype,"height",void 0),Object(u.a)([Object(d.c)()],c.prototype,"iconColor",void 0),u=c=Object(u.a)([Object(d.a)({name:"SvgIcon"})],c),d=i(8),c=i(250),c=i.n(c),u=Object(d.a)(u,(function(){var t=this,e=t.$createElement;e=t._self._c||e;return t.show?e("span",{staticClass:"svgIcon",style:{width:t.width,height:t.height,fill:t.iconColor},attrs:{"aria-label":t.description},domProps:{innerHTML:t._s(t.data.svgContent)}}):t._e()}),[],!1,(function(t){var e=i(825);e.__inject__&&e.__inject__(t)}),null,"172e88f4"),"function"==typeof c.a&&c()(u),e.a=u.exports},595:function(t,e,i){"use strict";i.r(e);var o,n=i(285);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},596:function(t,e,i){},601:function(t,e,i){"use strict";i.r(e);var o,n=i(288);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},602:function(t,e,i){},603:function(t,e,i){"use strict";i.r(e);var o,n=i(289);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},604:function(t,e,i){},605:function(t,e,i){"use strict";i.r(e);var o,n=i(290);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},606:function(t,e,i){},610:function(t,e,i){"use strict";i.r(e);var o,n=i(291);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},611:function(t,e,i){},612:function(t,e,i){"use strict";i.r(e);var o,n=i(292);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},613:function(t,e,i){},614:function(t,e,i){"use strict";i.r(e);var o,n=i(293);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},615:function(t,e,i){},616:function(t,e,i){"use strict";i.r(e);var o,n=i(294);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},617:function(t,e,i){},619:function(t,e,i){"use strict";i.r(e);var o,n=i(301);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},620:function(t,e,i){},623:function(t,e,i){"use strict";i.r(e);var o,n=i(303);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},624:function(t,e,i){},625:function(t,e,i){"use strict";i.r(e);var o,n=i(304);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},626:function(t,e,i){},627:function(t,e,i){"use strict";i.r(e);var o,n=i(305);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},628:function(t,e,i){},629:function(t,e,i){"use strict";i.r(e);var o,n=i(306);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},630:function(t,e,i){},634:function(t,e,i){"use strict";i.r(e);var o,n=i(309);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},635:function(t,e,i){},636:function(t,e,i){"use strict";i.r(e);var o,n=i(310);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},637:function(t,e,i){},638:function(t,e,i){"use strict";i.r(e);var o,n=i(311);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},639:function(t,e,i){},645:function(t,e,i){"use strict";i.r(e);var o,n=i(313);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},646:function(t,e,i){},647:function(t,e,i){"use strict";i.r(e);var o,n=i(314);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},648:function(t,e,i){},649:function(t,e,i){"use strict";i.r(e);var o,n=i(315);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},650:function(t,e,i){},689:function(t,e,i){"use strict";i.r(e);var o,n=i(334);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},690:function(t,e,i){},691:function(t,e,i){"use strict";i.r(e);var o,n=i(335);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},692:function(t,e,i){},770:function(t,e,i){"use strict";i.r(e);var o,n=i(374);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},771:function(t,e,i){},786:function(t,e,i){"use strict";i.r(e);var o,n=i(385);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},787:function(t,e,i){},825:function(t,e,i){"use strict";i.r(e);var o,n=i(404);for(o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o)},826:function(t,e,i){}}]);
