(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{138:function(e,t){},139:function(e,t){},143:function(e,t){},144:function(e,t){},145:function(e,t){},146:function(e,t){},147:function(e,t){},148:function(e,t){},155:function(e,t){},157:function(e,t){},163:function(e,t){},168:function(e,t){},173:function(e,t){},182:function(e,t){},183:function(e,t){},184:function(e,t){},189:function(e,t){},214:function(e,t,i){var n=i(402);(n="string"==typeof(n=n.__esModule?n.default:n)?[[e.i,n,""]]:n).locals&&(e.exports=n.locals),(0,i(11).default)("20ba71be",n,!0,{singleton:!0})},215:function(e,t,i){var n=i(406);(n="string"==typeof(n=n.__esModule?n.default:n)?[[e.i,n,""]]:n).locals&&(e.exports=n.locals),(0,i(11).default)("ed8cefb8",n,!0,{singleton:!0})},217:function(e,t,i){var n=i(410);(n="string"==typeof(n=n.__esModule?n.default:n)?[[e.i,n,""]]:n).locals&&(e.exports=n.locals),(0,i(11).default)("2a4b3ed7",n,!0,{singleton:!0})},218:function(e,t,i){var n=i(412);(n="string"==typeof(n=n.__esModule?n.default:n)?[[e.i,n,""]]:n).locals&&(e.exports=n.locals),(0,i(11).default)("559eae42",n,!0,{singleton:!0})},219:function(e,t,i){var n=i(414);(n="string"==typeof(n=n.__esModule?n.default:n)?[[e.i,n,""]]:n).locals&&(e.exports=n.locals),(0,i(11).default)("6c0dfd3a",n,!0,{singleton:!0})},220:function(e,t,i){var n=i(416);(n="string"==typeof(n=n.__esModule?n.default:n)?[[e.i,n,""]]:n).locals&&(e.exports=n.locals),(0,i(11).default)("c4190d50",n,!0,{singleton:!0})},226:function(e,t,i){var n=i(430);(n="string"==typeof(n=n.__esModule?n.default:n)?[[e.i,n,""]]:n).locals&&(e.exports=n.locals),(0,i(11).default)("95faeb32",n,!0,{singleton:!0})},228:function(e,t,i){var n=i(434);(n="string"==typeof(n=n.__esModule?n.default:n)?[[e.i,n,""]]:n).locals&&(e.exports=n.locals),(0,i(11).default)("c0b0dff6",n,!0,{singleton:!0})},237:function(e,t,i){var n=i(448);(n="string"==typeof(n=n.__esModule?n.default:n)?[[e.i,n,""]]:n).locals&&(e.exports=n.locals),(0,i(11).default)("00f7c468",n,!0,{singleton:!0})},242:function(e,t,i){var n=i(458);(n="string"==typeof(n=n.__esModule?n.default:n)?[[e.i,n,""]]:n).locals&&(e.exports=n.locals),(0,i(11).default)("35c6a4cd",n,!0,{singleton:!0})},254:function(e,t,i){var n=i(473);(n="string"==typeof(n=n.__esModule?n.default:n)?[[e.i,n,""]]:n).locals&&(e.exports=n.locals),(0,i(11).default)("21496dda",n,!0,{singleton:!0})},266:function(e,t,i){var n=i(495);(n="string"==typeof(n=n.__esModule?n.default:n)?[[e.i,n,""]]:n).locals&&(e.exports=n.locals),(0,i(11).default)("d72c21ca",n,!0,{singleton:!0})},267:function(e,t,i){var n=i(497);(n="string"==typeof(n=n.__esModule?n.default:n)?[[e.i,n,""]]:n).locals&&(e.exports=n.locals),(0,i(11).default)("fa7f2758",n,!0,{singleton:!0})},268:function(e,t,i){var n=i(499);(n="string"==typeof(n=n.__esModule?n.default:n)?[[e.i,n,""]]:n).locals&&(e.exports=n.locals),(0,i(11).default)("101f8c5b",n,!0,{singleton:!0})},302:function(e,t,i){"use strict";var n=i(10),o=i(9),a=i(2),r=i(5),s=i(4),c=i(3),l=i(8),d=i.n(l),u=(i(75),i(398),i(122),i(53),i(24),i(16),i(50),i(51),i(1)),h=i(0);l=function(e){Object(s.a)(l,e);var t,i=Object(c.a)(l);function l(){var e;return Object(a.a)(this,l),(e=i.apply(this,arguments)).advertisingKey=0,e.default={isMobile:!1,adsPosition:"center",adsData:null},e}return Object(r.a)(l,[{key:"carouselItems",get:function(){var e=JSON.parse(JSON.stringify(this.headlineCollection));return this.data.adsData&&e.splice(this.getAdsIndexPosition(),0,this.data.adsData),e}},{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(e){return e.brand}))?"HeadlinePhotoBrand":"HeadlinePhoto"}},{key:"getClasses",get:function(){var e=["cardCarousel","cardCarousel--".concat(this.station)];return 1<this.headlineCollection.length&&e.push("cardCarousel__carouselActivated"),"HeadlinePhoto"===this.getComponentRender?e.push("cardCarousel__headlinePhoto"):e.push("cardCarousel__headlinePhotoBrand"),e}},{key:"getComponents",get:function(){var e=this;return this.carouselItems.map((function(t,i){var n=JSON.parse(JSON.stringify(t));return 0===i&&(n.emitLoadEvent=!0),n.metrics=Object(o.a)(Object(o.a)({},e.metrics),{},{position:(i+1).toString()}),{name:e.getItemRender(t),payload:n}}))}},{key:"getItemRender",value:function(e){return!0===e.isAdvertising?"HeadlinePhotoAd":e.brand?"HeadlinePhotoBrand":"HeadlinePhoto"}},{key:"handleNativeBanner",value:function(e,t){this.tools.custom.debug.logMessage('ADS Carousel Native Banner. CALL "insertBannerRotativoTopo". data:',e,t),t.link&&t.texto&&t.imagem?(this.data.adsPosition=e,this.data.adsData={isAdvertising:!0,title:t.texto,link:t.link,id:"card-carousel-native-banner",offerAd:{label:"Oferecido por",image:t.selo},photo:{images:[{src:this.data.isMobile&&t.imagemMobile?t.imagemMobile:t.imagem}],credit:t.credito}}):this.tools.custom.debug.logMessage("ADS Carousel Native Banner. Erro para renderizar pois não veio as propriedades requireds")}},{key:"created",value:function(){!0===this.enableAdvertising&&void 0===window.insertBannerRotativoTopo&&(window.insertBannerRotativoTopo=this.handleNativeBanner.bind(this))}},{key:"onHeadlineCollectionChange",value:(t=Object(n.a)(d.a.mark((function e(t){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!0!==this.enableAdvertising){e.next=6;break}if(!1===t.some((function(e){return!0===e.isAdvertising})))return e.next=5,this.$nextTick();e.next=6;break;case 5:this.advertisingKey=(new Date).getTime();case 6:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"dispatch",value:function(e){e({isMobile:this.tools.userAgent.isSmart()})}}]),l}(i(6).a);Object(u.a)([Object(h.c)({default:!1})],l.prototype,"enableAdvertising",void 0),Object(u.a)([Object(h.c)({default:"home"})],l.prototype,"station",void 0),Object(u.a)([Object(h.e)("headlineCollection")],l.prototype,"onHeadlineCollectionChange",null),u=l=Object(u.a)([Object(h.a)({name:"CardCarousel"})],l),h=i(7),l=i(138),l=i.n(l),u=Object(h.a)(u,(function(){var e=this,t=e.$createElement;return(t=e._self._c||t)("div",{class:e.getClasses},[t("Carousel",{staticClass:"edgeToEdge--xs",attrs:{station:e.station,"auto-roll":!0,components:e.getComponents,"shape-button":e.getShapeButton,metrics:e.metrics}}),e.enableAdvertising?t("CardAd",{key:e.advertisingKey,attrs:{id:"banner-300x250-4","class-ad":"rotativo-topo",hidden:"","aria-hidden":"true"}}):e._e()],1)}),[],!1,(function(e){var t=i(401);t.__inject__&&t.__inject__(e)}),null,"270d76b3"),"function"==typeof l.a&&l()(u),t.a=u.exports},303:function(e,t,i){"use strict";var n=i(12),o=i(9),a=i(10),r=i(2),s=i(5),c=i(4),l=i(3),d=(i(24),i(14),i(40),i(46),i(8)),u=i.n(d),h=i(1),_=i(0);d=function(e){Object(c.a)(h,e);var t,i,d=Object(l.a)(h);function h(){var e;return Object(r.a)(this,h),(e=d.apply(this,arguments)).isPipActive=!1,e.fadeout=!1,e.observe=!1,e.hasAutoplay=!0,e.load=!0,e.stylePosition={},e.anchorAdsOpened=!1,e.hasAnchorAds=!1,e}return Object(s.a)(h,[{key:"created",value:function(){}},{key:"onIntersecting",value:function(e){var t=document.querySelector(".up-floating");e&&this.isPipActive&&(this.fadeout=!0),this.isPipActive=!e,t&&(this.isPipActive?t.style.zIndex="99999":t.style.zIndex="39999999")}},{key:"onPipClose",value:function(e){e&&e.stopPropagation(),this.observe=!1,this.isPipActive=!1,window.playerHome&&window.playerHome.pause(),this.pauseLivePlayer()}},{key:"pauseLivePlayer",value:(i=Object(a.a)(u.a.mark((function e(){var t;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null===(t=null===window||void 0===window?void 0:window.playerFantascope)||void 0===t?void 0:t.useVideoTag().then((function(e){e.pause()}));case 2:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)})},{key:"videoDescription",get:function(){return this.showLive?this.titleLive:this.title}},{key:"showLive",get:function(){return"live"===this.type}},{key:"showVod",get:function(){return"vod"===this.type}},{key:"brandType",get:function(){return"".concat(this.brand,"-white")}},{key:"chipMetrics",get:function(){var e=this;return this.chips.map((function(t,i){return Object(o.a)(Object(o.a)({},e.addPublisherPositionMetrics),{},{position:"".concat(t.slug,"-").concat(i+1),category:e.categoryMetrics,label:e.labelMetrics})}))}},{key:"placeholderImage",get:function(){var e=this.showLive?"https://conteudo.imguol.com.br/c/home/layout/vueland/icons/geral/placeholder-logo.svg":"https://thumb.mais.uol.com.br/".concat(this.mediaId,".jpg");return{"background-image":"url(".concat(e,")")}}},{key:"categoryMetrics",get:function(){return"".concat(this.metrics.category,"-brand")}},{key:"labelMetrics",get:function(){return"logo-".concat({channel:"canaluol",play:"uolplay",mov:"mov"}[this.brand])}},{key:"addPublisherPositionMetrics",get:function(){return Object(o.a)(Object(o.a)({},this.metrics),{},{publisherPosition:this.data.isMobile&&this.publisherPositionMobile||this.publisherPosition})}},{key:"getLinkBrand",get:function(){return"mov"===this.brand?"https://www.uol.com.br/play/mov/":"https://www.uol.com.br/play/ao-vivo/canal-uol/"}},{key:"getPipStyle",get:function(){if(!this.isPipActive&&!this.fadeout)return{};var e=this.isPipActive?"pip-top":"video-card",t=this.isPipActive?"scroll-down":"scroll-up";return this.tools.custom.metrics.interaction(Object(o.a)(Object(o.a)({},this.addPublisherPositionMetrics),{},{position:e}),t),this.data.isMobile?{}:this.stylePosition}},{key:"mounted",value:(t=Object(a.a)(u.a.mark((function e(){var t,i=this;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:"live"===this.type&&this.tools.custom.metrics.send(Object(o.a)(Object(o.a)({},this.addPublisherPositionMetrics),{},{action:"impressao",label:"player-fantascope",nonInteraction:!0}),"event"),t=function(){i.stylePosition={right:"0",bottom:"0"}},this.data.isMobile||window.addEventListener("resize",t),this.pipPositioning();case 6:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"pipPositioning",value:function(){var e,t=this;this.data.isMobile&&((e=document.querySelector(".up-floating"))?function(e){t.anchorAdsOpened=!0,t.hasAnchorAds=!0,new MutationObserver((function(i){var o,a,r=Object(n.a)(i);try{for(r.s();!(o=r.n()).done;)"attributes"===o.value.type&&(void 0,a=0===parseInt(null==e?void 0:e.style.bottom,10),t.anchorAdsOpened=a)}catch(i){r.e(i)}finally{r.f()}})).observe(e,{attributes:!0})}(e):this.tools.custom.debug.logError("Anchor ads não encontrado"))}},{key:"onEndUOLPlayer",value:function(){var e=this;setTimeout((function(){e.observe&&e.onPipClose()}),15e3)}},{key:"onEndFadeout",value:function(){this.fadeout=!1}},{key:"dispatch",value:function(e){var t=this.tools.userAgent.inApp();e({hideAds:t&&(null===(e=this.tools.request.getParams("app_capabilities"))||void 0===e?void 0:e.includes("woutAdivs")),inApp:t,isMobile:this.tools.userAgent.isSmart()})}}]),h}(i(6).b);Object(h.a)([Object(_.c)({required:!0})],d.prototype,"id",void 0),Object(h.a)([Object(_.c)({required:!0})],d.prototype,"title",void 0),Object(h.a)([Object(_.c)({required:!0,default:"channel"})],d.prototype,"brand",void 0),Object(h.a)([Object(_.c)({required:!0})],d.prototype,"type",void 0),Object(h.a)([Object(_.c)({required:!0})],d.prototype,"position",void 0),Object(h.a)([Object(_.c)()],d.prototype,"titleLive",void 0),Object(h.a)([Object(_.c)()],d.prototype,"mediaId",void 0),Object(h.a)([Object(_.c)()],d.prototype,"streamId",void 0),Object(h.a)([Object(_.c)()],d.prototype,"chips",void 0),Object(h.a)([Object(_.c)()],d.prototype,"publisherPosition",void 0),Object(h.a)([Object(_.c)()],d.prototype,"publisherPositionMobile",void 0),Object(h.a)([Object(_.c)({default:"Ao vivo"})],d.prototype,"labelLive",void 0),Object(h.a)([Object(_.c)()],d.prototype,"isPipActive",void 0),Object(h.a)([Object(_.c)({default:"top"})],d.prototype,"positionPlayer",void 0),h=d=Object(h.a)([Object(_.a)({name:"CardVideo"})],d),_=i(7),d=i(139),d=i.n(d),h=Object(_.a)(h,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("article",{ref:"cardVideo",class:["cardVideo",{cardVideo__live:e.showLive}],attrs:{"aria-labelledby":e.id}},[i("div",{class:["cardVideo__header",{cardVideo__live__header:e.showLive}]},[i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},e.addPublisherPositionMetrics,{category:e.categoryMetrics,label:e.labelMetrics,position:"1"}),expression:"{...addPublisherPositionMetrics, category: categoryMetrics, label: labelMetrics, position: '1'}"}],staticClass:"hyperlink",attrs:{href:e.getLinkBrand}},[e.brand?i("Brand",{class:[e.brand,"cardVideo__header__brand",{"cardVideo__header__brand--live":e.showLive}],attrs:{icon:e.brandType,lazypreload:!0,tag:"figure",type:"headline"}}):e._e()],1),e.showLive?i("div",{staticClass:"kicker kicker--live kicker--highlight cardVideo__header__live"},[i("div",[e._v(e._s(e.labelLive))])]):e._e()]),i("div",{directives:[{name:"intersection",rawName:"v-intersection",value:{callback:e.onIntersecting,observe:e.observe},expression:"{ callback: onIntersecting, observe }"}],staticClass:"cardVideo__containerPlayer",style:e.placeholderImage,on:{click:function(){e.observe=!0}}},[i("div",{ref:"videoWrapper",staticClass:"cardVideo__containerPlayer__wrapper",class:{cardVideo__containerPlayer__wrapper__pip:e.isPipActive,cardVideo__containerPlayer__wrapper__pip__fadeout:e.fadeout,cardVideo__containerPlayer__wrapper__pip__bottom:"bottom"===e.positionPlayer,"cardVideo__containerPlayer__wrapper__pip--anchorAdsOpened":e.anchorAdsOpened,"cardVideo__containerPlayer__wrapper__pip--hasAnchorAds":e.hasAnchorAds,"cardVideo__containerPlayer__wrapper__pip--inApp":e.data.inApp&&!e.hasAnchorAds},style:e.getPipStyle,on:{animationend:e.onEndFadeout}},[i("div",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},e.addPublisherPositionMetrics,{action:"interaction-close",position:"video-card"}),expression:"{...addPublisherPositionMetrics, action: 'interaction-close', position: 'video-card'}"}],staticClass:"cardVideo__containerPlayer__wrapper__pip__close uolIcons uolIcons--fechar",style:{display:e.isPipActive?"flex":"none"},on:{click:e.onPipClose}}),e.showLive?i("LivePlayer",{staticClass:"cardVideo__containerPlayer__player",attrs:{"stream-id":e.streamId,"is-mobile":e.data.isMobile,"hide-ads":e.data.hideAds},on:{endUOLPlayer:e.onEndUOLPlayer}}):e.showVod?i("VideoPlayer",{staticClass:"cardVideo__containerPlayer__player",attrs:{"media-id":e.mediaId,"is-mobile":e.data.isMobile,"hide-ads":e.data.hideAds},on:{endUOLPlayer:e.onEndUOLPlayer}}):e._e()],1)]),e.videoDescription?i("div",{class:["cardVideo__content",{cardVideo__live__content:e.showLive},{"cardVideo__content--withChips":e.chips}]},[i("div",{staticClass:"title__element cardVideo__title"},[i("h3",{attrs:{id:e.id}},[e._v("\n        "+e._s(e.videoDescription)+"\n      ")])]),e.chips&&e.chips.length?i("div",{staticClass:"chips cardVideo__chips"},e._l(e.chips,(function(t,n){return i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:e.chipMetrics[n],expression:"chipMetrics[index]"}],key:"chips-"+n,staticClass:"chips__link",attrs:{href:t.link}},[i("div",[e._v("\n          "+e._s(t.title)+"\n          "),i("i",{staticClass:"uolIcons uolIcons--video chips__icon",attrs:{"aria-hidden":"true"}})])])})),0):e._e()]):e._e()])}),[],!1,(function(e){var t=i(405);t.__inject__&&t.__inject__(e)}),null,"63206d4b"),"function"==typeof d.a&&d()(h),t.a=h.exports},307:function(e,t,i){"use strict";var n=i(2),o=i(5),a=i(4),r=i(3),s=i(1),c=i(0),l=function(e){Object(a.a)(i,e);var t=Object(r.a)(i);function i(){return Object(n.a)(this,i),t.apply(this,arguments)}return Object(o.a)(i,[{key:"created",value:function(){}},{key:"dispatch",value:function(e){e()}},{key:"getGroupConfigClass",value:function(){var e=["cardGroup","row","row-cols-1","no-gutters"];return 1!==this.columns&&e.push("row-cols-lg-".concat(this.columns)),e}}]),i}(i(6).b);Object(s.a)([Object(c.c)({required:!0})],l.prototype,"headlines",void 0),Object(s.a)([Object(c.c)({default:1})],l.prototype,"columns",void 0),Object(s.a)([Object(c.c)({required:!0})],l.prototype,"component",void 0),s=l=Object(s.a)([Object(c.a)({name:"CardGroup"})],l),c=i(7),l=i(143),l=i.n(l),s=Object(c.a)(s,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{class:e.getGroupConfigClass()},e._l(e.headlines,(function(t){return i(e.component,e._b({key:t.id,tag:"component",staticClass:"col cardGroup__headline"},"component",t,!1))})),1)}),[],!1,null,null,"fc988f5a"),"function"==typeof l.a&&l()(s),t.a=s.exports},308:function(e,t,i){"use strict";var n=i(2),o=i(5),a=i(4),r=i(3),s=i(1),c=i(0),l=function(e){Object(a.a)(i,e);var t=Object(r.a)(i);function i(){return Object(n.a)(this,i),t.apply(this,arguments)}return Object(o.a)(i,[{key:"created",value:function(){}},{key:"dispatch",value:function(e){e()}}]),i}(i(6).a);Object(s.a)([Object(c.c)({default:"home"})],l.prototype,"station",void 0),Object(s.a)([Object(c.c)()],l.prototype,"hasHeadlinePhoto",void 0),s=l=Object(s.a)([Object(c.a)({name:"CardGroupVertical"})],l),c=i(7),l=i(144),l=i.n(l),s=Object(c.a)(s,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.headlineCollection.length?i("div",{staticClass:"cardGroupVertical edgeToEdge--xs"},[e.hasHeadlinePhoto?i("HeadlinePhoto",e._b({staticClass:"cardGroupVertical__principal",attrs:{station:e.station}},"HeadlinePhoto",Object.assign({},e.headlineCollection[0],{metrics:Object.assign({},e.metrics,{position:"1"})}),!1)):e._e(),e._l(e.headlineCollection,(function(t,n){return[n>=(e.hasHeadlinePhoto?1:0)?i("HeadlineHorizontal",e._b({key:t.id,staticClass:"cardGroupVertical__small",attrs:{"icon-on-photo":!1}},"HeadlineHorizontal",Object.assign({},t,{metrics:Object.assign({},e.metrics,{position:(n+1).toString()})}),!1)):e._e()]}))],2):e._e()}),[],!1,(function(e){var t=i(409);t.__inject__&&t.__inject__(e)}),null,"9460fe14"),"function"==typeof l.a&&l()(s),t.a=s.exports},309:function(e,t,i){"use strict";var n=i(2),o=i(5),a=i(4),r=i(3),s=i(1),c=i(0),l=function(e){Object(a.a)(i,e);var t=Object(r.a)(i);function i(){return Object(n.a)(this,i),t.apply(this,arguments)}return Object(o.a)(i,[{key:"created",value:function(){}},{key:"dispatch",value:function(e){e({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(6).b);Object(s.a)([Object(c.c)()],l.prototype,"responsive",void 0),Object(s.a)([Object(c.c)()],l.prototype,"web",void 0),Object(s.a)([Object(c.c)()],l.prototype,"mobile",void 0),s=l=Object(s.a)([Object(c.a)({name:"CardHeadlineMain"})],l),c=i(7),l=i(145),l=i.n(l),s=Object(c.a)(s,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return e.web&&e.mobile?t("HeadlineMain",e._b({attrs:{metrics:e.metrics}},"HeadlineMain",e.data.isMobile?e.mobile:e.web,!1)):t("HeadlineMain",e._b({attrs:{metrics:e.metrics}},"HeadlineMain",e.responsive,!1))}),[],!1,null,null,"c0f9c454"),"function"==typeof l.a&&l()(s),t.a=s.exports},310:function(e,t,i){"use strict";var n=i(2),o=i(5),a=i(4),r=i(3),s=(i(16),i(24),i(13),i(17),i(51),i(1)),c=i(0),l=function(e){Object(a.a)(i,e);var t=Object(r.a)(i);function i(){var e;return Object(n.a)(this,i),(e=t.apply(this,arguments)).items=[],e.showSkeleton=!0,e.paramsSrc={api:"montecarlo",method:"search",busca:{params:{portal:"bol",size:10,"tags-id":81971,fields:["imagem","imagem-credito","id","titulo","url-bol"]}}},e}return Object(o.a)(i,[{key:"componentMetrics",get:function(){return{category:"card-row",area:"topo"}}},{key:"skeletonItems",get:function(){return new Array(6)}},{key:"created",value:function(){}},{key:"mounted",value:function(){this.request()}},{key:"request",value:function(){var e=this;fetch("https://c.jsuol.com.br/service/?loadComponent=api&data=".concat(JSON.stringify(this.paramsSrc))).then((function(e){return e.json()})).then((function(t){(t=t.docs)&&t.length&&3<=t.length?(e.showSkeleton=!1,t.map((function(t,i){var n={id:t.id,title:t.titulo,link:t.link.replace("http://","https://")};t.imagem&&(n.photo={images:[{src:t.imagem.replace(/_v2_(\d+x\d+)\./,"_v2_300x225.")}],credit:t["imagem-credito"]}),i<6&&e.items.push(n)}))):console.warn("Não há chamadas a exibir nos destaques ")})).catch((function(e){console.error(e)}))}},{key:"dispatch",value:function(e){e()}}]),i}(i(6).c);s=l=Object(s.a)([Object(c.a)({name:"CardHighlights"})],l),c=i(7),l=i(146),l=i.n(l);s=Object(c.a)(s,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("section",{staticClass:"cardHighlights"},[i("div",{staticClass:"container"},[e.items.length?[i("div",{class:["cardHighlights__list","row","row-cols-1","row-cols-lg-"+e.items.length]},e._l(e.items,(function(t,n){return i("HeadlineStandard",e._b({key:t.id,staticClass:"cardHighlights__list__item col",attrs:{metrics:Object.assign({},e.componentMetrics,{position:(n+1).toString()})}},"HeadlineStandard",t,!1))})),1)]:e._e(),e.showSkeleton?[i("div",{staticClass:"sectionGridFeed__fade__loading row row-cols-1 row-cols-lg-6"},e._l(e.skeletonItems,(function(t){return i("div",{key:t,staticClass:"cardHighlights__fade__loading__item col"},[i("span",{staticClass:"cardHighlights__fade__loading__photo loading__skeleton"}),e._m(0,!0)])})),0)]:e._e()],2)])}),[function(){var e=this.$createElement;return(e=this._self._c||e)("div",{staticClass:"cardHighlights__fade__loading__container"},[e("span",{staticClass:"cardHighlights__fade__loading__title loading__skeleton cardHighlights__fade__loading__title--large"}),e("span",{staticClass:"cardHighlights__fade__loading__title loading__skeleton cardHighlights__fade__loading__title--large"}),e("span",{staticClass:"cardHighlights__fade__loading__title loading__skeleton cardHighlights__fade__loading__title--medium"})])}],!1,(function(e){var t=i(411);t.__inject__&&t.__inject__(e)}),null,"078f19da"),"function"==typeof l.a&&l()(s),t.a=s.exports},311:function(e,t,i){"use strict";var n=i(2),o=i(5),a=i(4),r=i(3),s=i(1),c=i(0),l=function(e){Object(a.a)(i,e);var t=Object(r.a)(i);function i(){return Object(n.a)(this,i),t.apply(this,arguments)}return Object(o.a)(i,[{key:"created",value:function(){}},{key:"dispatch",value:function(e){e()}}]),i}(i(6).a);s=l=Object(s.a)([Object(c.a)({name:"CardRow"})],l),c=i(7),l=i(147),l=i.n(l);s=Object(c.a)(s,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.headlineCollection&&e.headlineCollection.length?i("div",{staticClass:"cardRow"},[i("div",{class:["cardRow__list","row","row-cols-1","row-cols-lg-"+e.headlineCollection.length]},e._l(e.headlineCollection,(function(t,n){return i("HeadlineStandard",e._b({key:t.id,staticClass:"cardRow__list__item col",attrs:{metrics:Object.assign({},e.metrics,{position:(n+1).toString()})}},"HeadlineStandard",t,!1))})),1)]):e._e()}),[],!1,(function(e){var t=i(413);t.__inject__&&t.__inject__(e)}),null,"6e985f09"),"function"==typeof l.a&&l()(s),t.a=s.exports},312:function(e,t,i){"use strict";var n=i(9),o=i(2),a=i(5),r=i(4),s=i(3),c=(i(51),i(30),i(24),i(16),i(50),i(1)),l=i(0),d=function(e){Object(r.a)(i,e);var t=Object(s.a)(i);function i(){return Object(o.a)(this,i),t.apply(this,arguments)}return Object(a.a)(i,[{key:"isCardOpinion",get:function(){return"card-opinion"===this.type}},{key:"getComponentRender",get:function(){return this.isCardOpinion?"HeadlineHorizontalAvatar":"HeadlineHorizontal"}},{key:"getHeader",get:function(){var e,t={borderTop:!0};return null!==(e=this.header)&&void 0!==e&&e.link&&(t.linkExternal={text:this.header.labelLink||"ver todos",link:this.header.link,icon:"seta-direita"}),Object.assign(t,this.header)}},{key:"carouselComponents",get:function(){for(var e=[],t=this.headlinesMetrics,i=0;i<t.length;i+=this.quantityHeadlinesDesktop){for(var n=[],o=i;o<i+this.quantityHeadlinesDesktop;o+=1)t[o]&&(t[o].iconOnPhoto=!1,n.push(t[o]));e.push({name:"CardGroup",payload:{component:this.getComponentRender,headlines:n}})}return e}},{key:"accordionComponents",get:function(){var e=this,t=[];return this.headlinesMetrics.forEach((function(i){t.push({name:e.getComponentRender,payload:Object(n.a)(Object(n.a)({},i),{},{iconOnPhoto:!1})})})),t}},{key:"headlinesMetrics",get:function(){var e=this;return this.headlineCollection.map((function(t,i){return(t=Object(n.a)({},t)).metrics=Object(n.a)(Object(n.a)({},e.metrics),{},{position:(i+1).toString()}),t}))}},{key:"created",value:function(){}},{key:"dispatch",value:function(e){e({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(6).a);Object(c.a)([Object(l.c)({required:!0})],d.prototype,"header",void 0),Object(c.a)([Object(l.c)({required:!0,default:2})],d.prototype,"quantityHeadlinesMobile",void 0),Object(c.a)([Object(l.c)({required:!0,default:2})],d.prototype,"quantityHeadlinesDesktop",void 0),Object(c.a)([Object(l.c)()],d.prototype,"labelMobile",void 0),Object(c.a)([Object(l.c)({required:!0})],d.prototype,"type",void 0),c=d=Object(c.a)([Object(l.a)({name:"CardTopic"})],d),l=i(7),d=i(148),d=i.n(d),c=Object(l.a)(c,(function(){var e=this,t=e.$createElement;t=e._self._c||t;return e.headlineCollection&&e.headlineCollection.length?t("section",{staticClass:"cardTopic",attrs:{"aria-labelledby":e.id}},[e.getHeader?t("HeaderCard",e._b({staticClass:"cardTopic__headerCard edgeToEdge--xs"},"HeaderCard",Object.assign({},{id:e.id},e.getHeader,{metrics:e.metrics}),!1)):e._e(),e.data.isMobile?t("Accordion",{staticClass:"cardTopic__accordion",attrs:{components:e.accordionComponents,metrics:e.metrics,"quantity-show":e.quantityHeadlinesMobile,"quantity-load":e.headlineCollection.length-e.quantityHeadlinesMobile,"button-text":e.isCardOpinion?"mais blogs":e.labelMobile||"ver mais"}}):t("Carousel",{staticClass:"cardTopic__carousel",attrs:{components:e.carouselComponents,"progress-navigation":!0,"auto-roll":!0,"roll-time":18e3,metrics:e.metrics}})],1):e._e()}),[],!1,(function(e){var t=i(415);t.__inject__&&t.__inject__(e)}),null,"42df19b3"),"function"==typeof d.a&&d()(c),t.a=c.exports},323:function(e,t,i){"use strict";var n=i(2),o=i(5),a=i(4),r=i(3),s=(i(16),i(50),i(1)),c=i(0),l=function(e){Object(a.a)(i,e);var t=Object(r.a)(i);function i(){var e;return Object(n.a)(this,i),(e=t.apply(this,arguments)).showReportErrorForm=!1,e.metricsFooter={area:"footer",category:"footer",label:"content",position:"1"},e.socialLinks=[{slug:"facebook",title:"Facebook",link:"https://www.facebook.com/bol"},{slug:"twitter",title:"Twitter",link:"https://twitter.com/bol"},{slug:"instagram",title:"Instagram",link:"https://www.instagram.com/portalbol/"}],e}return Object(o.a)(i,[{key:"getCopyright",get:function(){return"1996 - ".concat((new Date).getFullYear().toString()," BOL - Brasil Online - Todos os direitos reservados - Segurança e privacidade")}},{key:"bolIcon",get:function(){return{name:"bol-logo",width:84,height:35,description:"Logo BOL",path:"brand"}}},{key:"toggleReportErrorForm",value:function(){this.showReportErrorForm=!this.showReportErrorForm,this.tools.custom.overlayToggle.setOverlay(this.showReportErrorForm),this.showReportErrorForm?this.$root.$on("overlayCloseAction",this.toggleReportErrorForm):this.$root.$off("overlayCloseAction")}},{key:"created",value:function(){}},{key:"dispatch",value:function(e){e({inApp:this.tools.userAgent.inApp()})}}]),i}(i(6).c);s=l=Object(s.a)([Object(c.a)({name:"FooterBol"})],l),c=i(7),l=i(155),l=i.n(l);s=Object(c.a)(s,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("footer",{staticClass:"footerBol",attrs:{role:"contentinfo"}},[i("div",{staticClass:"footerBol__container container"},[e.data.inApp?e._e():[i("Icon",e._b({staticClass:"footerBol__icon"},"Icon",e.bolIcon,!1)),i("span",{staticClass:"footerBol__title"},[e._v(e._s(e.getCopyright))])],i("ButtonHome",{staticClass:"footerBol__button",attrs:{text:"COMUNICAR ERRO",shape:"ghost",metrics:Object.assign({},e.metricsFooter,{action:"error"})},on:{click:function(t){return e.toggleReportErrorForm()}}}),e.showReportErrorForm?i("ReportErrorForm",{staticClass:"footerBol__reportErrorForm",attrs:{metrics:Object.assign({},e.metricsFooter,{category:"report-error-form"})},on:{reportErrorFormClose:function(t){return e.toggleReportErrorForm()}}}):e._e(),i("div",{staticClass:"footerBol__followSocial"},[i("span",{staticClass:"footerBol__followSocial__label"},[e._v("Siga o BOL")]),e._l(e.socialLinks,(function(t,n){return i("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},e.metricsFooter,{position:""+(n+1),label:"content"}),expression:"{...metricsFooter, position: `${index + 1}`, label:'content' }"}],key:t+"-"+n,staticClass:"hyperlink footerBol__followSocial__link",attrs:{target:"_blank",href:t.link,title:t.title}},[i("i",{class:["uolIcons","uolIcons--"+t.slug,"footerBol__followSocial__icon","socialIcons--"+t.slug],attrs:{"aria-hidden":"true"}})])}))],2)],2)])}),[],!1,(function(e){var t=i(429);t.__inject__&&t.__inject__(e)}),null,"3d9b3073"),"function"==typeof l.a&&l()(s),t.a=s.exports},325:function(e,t,i){"use strict";var n=i(2),o=i(5),a=i(4),r=i(3),s=i(1),c=i(0),l=function(e){Object(a.a)(i,e);var t=Object(r.a)(i);function i(){var e;return Object(n.a)(this,i),(e=t.apply(this,arguments)).headerMetrics={area:"header",label:"product"},e.isLogged=!1,e}return Object(o.a)(i,[{key:"created",value:function(){}},{key:"userIsLogged",value:function(e){return this.isLogged=e,this.isLogged}},{key:"dispatch",value:function(e){e({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(6).c);s=l=Object(s.a)([Object(c.a)({name:"HeaderBol"})],l),c=i(7),l=i(157),l=i.n(l);s=Object(c.a)(s,(function(){var e=this,t=e.$createElement;return(t=e._self._c||t)("header",{staticClass:"headerBol container"},[t("h1",{staticClass:"headerBol__logo"},[t("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:Object.assign({},e.headerMetrics,{position:"1",category:"logo-bol",label:"content"}),expression:"{...headerMetrics, position: '1', category: 'logo-bol', label: 'content'}"}],staticClass:"hyperlink headerBol__logo__hyperlink",attrs:{href:"//www.bol.uol.com.br/",title:"BOL - Brasil online"}},[t("Icon",{attrs:{name:"bol-logo",width:e.data.isMobile?84:200,height:e.data.isMobile?30:72,description:"BOL - Brasil online",path:"brand",lazypreload:!0,"aria-hidden":"true"}}),e._v("\n      BOL - Brasil online\n    ")],1)]),t("div",{class:["headerBol__container","edgeToEdge--xs",{"headerBol__container--isLogged":e.isLogged}]},[t("span",{staticStyle:{display:"none"},attrs:{id:"profile-avatar"}}),t("Email",{staticClass:"headerBol__container__email",attrs:{metrics:Object.assign({},e.headerMetrics,{position:"2",category:"email"})},on:{userIsLogged:e.userIsLogged}}),e._m(0)],1),t("Hydrate",{attrs:{"on-click":""}},[t("SearchHeader",{staticClass:"headerBol__search",attrs:{portal:"BOL",metrics:Object.assign({},e.headerMetrics,{position:"3",category:"search-header"})}})],1),t("MenuBol",{staticClass:"headerBol__menu edgeToEdge--xs"})],1)}),[function(){var e=this.$createElement;return(e=this._self._c||e)("div",{staticClass:"headerBol__container__informative"},[e("strong",{staticClass:"headerBol__container__informative__title"},[this._v("BOL Mail com até 21 GB")]),e("span",{staticClass:"headerBol__container__informative__text"},[this._v("Clube de descontos, antivírus e mais")])])}],!1,(function(e){var t=i(433);t.__inject__&&t.__inject__(e)}),null,"51cb83b3"),"function"==typeof l.a&&l()(s),t.a=s.exports},331:function(e,t,i){"use strict";var n=i(2),o=i(5),a=i(4),r=i(3),s=i(1),c=i(0),l=function(e){Object(a.a)(i,e);var t=Object(r.a)(i);function i(){return Object(n.a)(this,i),t.apply(this,arguments)}return Object(o.a)(i,[{key:"hasPhoto",get:function(){var e;return!(null===(e=null===(e=this.photo)||void 0===e?void 0:e.images)||void 0===e||!e.length)}},{key:"isExclusive",get:function(){var e;return!(null===(e=this.styleHeadline)||void 0===e||!e.isExclusive)}},{key:"created",value:function(){}},{key:"getStyleHeadlineTitle",get:function(){var e,t=["headlineMain__title"];return 48===(null===(e=this.styleHeadline)||void 0===e?void 0:e.fontSize)&&t.push("headlineMain__title--fontLarge"),t}},{key:"dispatch",value:function(e){e({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(6).c);Object(s.a)([Object(c.c)({required:!0})],l.prototype,"id",void 0),Object(s.a)([Object(c.c)()],l.prototype,"kicker",void 0),Object(s.a)([Object(c.c)({required:!0})],l.prototype,"title",void 0),Object(s.a)([Object(c.c)({required:!0})],l.prototype,"link",void 0),Object(s.a)([Object(c.c)()],l.prototype,"standfirst",void 0),Object(s.a)([Object(c.c)()],l.prototype,"photo",void 0),Object(s.a)([Object(c.c)()],l.prototype,"relateds",void 0),Object(s.a)([Object(c.c)()],l.prototype,"styleHeadline",void 0),Object(s.a)([Object(c.c)()],l.prototype,"icon",void 0),Object(s.a)([Object(c.c)()],l.prototype,"showComments",void 0),Object(s.a)([Object(c.c)()],l.prototype,"metrics",void 0),Object(s.a)([Object(c.b)("lazypreload")],l.prototype,"lazypreload",void 0),s=l=Object(s.a)([Object(c.a)({name:"HeadlineMain"})],l),c=i(7),l=i(163),l=i.n(l),s=Object(c.a)(s,(function(){var e=this,t=e.$createElement;return(t=e._self._c||t)("article",{staticClass:"headlineMain",attrs:{"aria-labelledby":e.id}},[t("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:e.metrics,expression:"metrics"}],staticClass:"hyperlink headlineMain__link",attrs:{href:e.link}},[e.hasPhoto?t("Photograph",e._b({staticClass:"headlineMain__photo edgeToEdge--xs",attrs:{kicker:e.kicker&&e.isExclusive?e.kicker:null,icon:e.icon,lazypreload:e.lazypreload}},"Photograph",e.photo,!1)):e._e(),t("div",[!e.kicker||e.hasPhoto&&e.isExclusive?e._e():t("h2",{class:[e.isExclusive?"headlineMain__kicker--exclusive headlineMain__kicker":"headlineMain__kicker","kicker","kicker--"+(e.isExclusive?"highlight":"default")],domProps:{textContent:e._s(e.kicker)}}),t("h3",{class:["title__element",e.getStyleHeadlineTitle],attrs:{id:e.id}},[e._v("\n        "+e._s(e.title)+"\n\n        "),!e.hasPhoto&&e.icon?t("i",{class:["uolIcons","uolIcons--"+e.icon],attrs:{"aria-hidden":"true"}}):e._e()])])],1),e.standfirst?t("p",{staticClass:"standfirst headlineMain__standfirst"},[e._v("\n    "+e._s(e.standfirst)+"\n  ")]):e._e(),e.relateds&&e.relateds.length?t("RelatedList",{staticClass:"headlineMain__related-list",attrs:{"related-list":e.relateds,"is-mobile":e.data.isMobile,metrics:e.metrics}}):e._e()],1)}),[],!1,(function(e){var t=i(447);t.__inject__&&t.__inject__(e)}),null,"17f3f14a"),"function"==typeof l.a&&l()(s),t.a=s.exports},336:function(e,t,i){"use strict";var n=i(2),o=i(5),a=i(4),r=i(3),s=i(1),c=i(0),l=function(e){Object(a.a)(i,e);var t=Object(r.a)(i);function i(){return Object(n.a)(this,i),t.apply(this,arguments)}return Object(o.a)(i,[{key:"hasPhoto",get:function(){var e;return!(null===(e=null===(e=this.photo)||void 0===e?void 0:e.images)||void 0===e||!e.length)}},{key:"isExclusive",get:function(){var e;return!(null===(e=this.styleHeadline)||void 0===e||!e.isExclusive)}},{key:"isKickerOut",get:function(){return this.isExclusive&&this.kicker&&(this.data.isMobile||!this.photo)}},{key:"created",value:function(){}},{key:"dispatch",value:function(e){e({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(6).b);Object(s.a)([Object(c.c)()],l.prototype,"kicker",void 0),Object(s.a)([Object(c.c)()],l.prototype,"id",void 0),Object(s.a)([Object(c.c)({required:!0})],l.prototype,"title",void 0),Object(s.a)([Object(c.c)({required:!0})],l.prototype,"link",void 0),Object(s.a)([Object(c.c)()],l.prototype,"photo",void 0),Object(s.a)([Object(c.c)()],l.prototype,"relateds",void 0),Object(s.a)([Object(c.c)()],l.prototype,"styleHeadline",void 0),Object(s.a)([Object(c.c)()],l.prototype,"icon",void 0),Object(s.a)([Object(c.c)()],l.prototype,"showComments",void 0),Object(s.a)([Object(c.b)("lazypreload")],l.prototype,"lazypreload",void 0),s=l=Object(s.a)([Object(c.a)({name:"HeadlineSub"})],l),c=i(7),l=i(168),l=i.n(l),s=Object(c.a)(s,(function(){var e=this,t=e.$createElement;return(t=e._self._c||t)("article",{class:["headlineSub",{"headlineSub__kickerOut--top":e.isKickerOut}],attrs:{"aria-labelledby":e.id}},[t("a",{directives:[{name:"metrics-click",rawName:"v-metrics-click",value:e.metrics,expression:"metrics"}],staticClass:"hyperlink headlineSub__link",attrs:{href:e.link}},[e.isKickerOut?t("h2",{class:["headlineSub__kickerOut","kicker","kicker--highlight"],domProps:{textContent:e._s(e.kicker)}}):e._e(),e.hasPhoto?t("Photograph",e._b({staticClass:"headlineSub__image",attrs:{lazypreload:e.lazypreload,kicker:!e.data.isMobile&&e.isExclusive?e.kicker:null,icon:e.icon}},"Photograph",e.photo,!1)):e._e(),t("div",{staticClass:"headlineSub__content"},[e.kicker&&!e.isExclusive?t("h2",{class:["headlineSub__content__kicker","kicker","kicker--default"],domProps:{textContent:e._s(e.kicker)}}):e._e(),t("h3",{staticClass:"title__element headlineSub__content__title",attrs:{id:e.id}},[e._v("\n        "+e._s(e.title)+"\n\n        "),!e.hasPhoto&&e.icon?t("i",{class:["uolIcons","uolIcons--"+e.icon],attrs:{"aria-hidden":"true"}}):e._e()])])],1),e.relateds&&e.relateds.length?t("RelatedList",{staticClass:"headlineSub__related-list",attrs:{"related-list":e.relateds,metrics:e.metrics}}):e._e()],1)}),[],!1,(function(e){var t=i(457);t.__inject__&&t.__inject__(e)}),null,"765cfa55"),"function"==typeof l.a&&l()(s),t.a=s.exports},347:function(e,t,i){"use strict";var n=i(9),o=i(10),a=i(2),r=i(5),s=i(4),c=i(3),l=i(8),d=i.n(l),u=(i(16),i(28),i(31),i(24),i(1)),h=i(0);l=function(e){Object(s.a)(l,e);var t,i=Object(c.a)(l);function l(){return Object(a.a)(this,l),i.apply(this,arguments)}return Object(r.a)(l,[{key:"created",value:function(){}},{key:"whenHydrate",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"when-visible";if("when-visible"===e&&!0===this.data.isMobile)return{force:!0};switch(e){case"force":return{force:!0};case"ssr-only":return{ssrOnly:!0};default:return{whenVisible:!0}}}},{key:"getKey",value:function(e){var t;return(null===(t=e.metrics)||void 0===t?void 0:t.area)||e.id||e.component}},{key:"dispatch",value:(t=Object(o.a)(d.a.mark((function e(t){var i,a,r,s=this;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=this.tools.userAgent.isSmart(),e.next=3,this.apis.custom.section.getOrderSections(this.fileName);case 3:return r=e.sent,e.next=6,Promise.all(r.map(function(){var e=Object(o.a)(d.a.mark((function e(t){var o;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.data)return e.next=3,s.apis.custom.section.getDataSection(t.data,i);e.next=5;break;case 3:return o=e.sent,e.abrupt("return",{component:t.component,config:t.config,metrics:t.metrics,data:Object(n.a)(Object(n.a)({},o),{},{header:t.data.header}),id:t.id});case 5:return e.abrupt("return",Object(n.a)({},t));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 6:return a=e.sent,e.next=9,this.apis.custom.section.getTimeStamp();case 9:r=e.sent,t({sections:a,isMobile:i,timestamp:r});case 11:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),l}(i(6).c);Object(u.a)([Object(h.c)({default:"order-sections"})],l.prototype,"fileName",void 0),u=l=Object(u.a)([Object(h.a)({name:"OrderSections"})],l),h=i(7),l=i(173),l=i.n(l),u=Object(h.a)(u,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.data.isMobile?e._e():i("section",{staticClass:"orderSections__section section orderSections__section__publisher"},[i("div",{staticClass:"container"},[i("div",{staticClass:"row"},[i("div",{staticClass:"col-24"},[i("div",{staticClass:"section__grid__highlight"},[i("Hydrate",{attrs:{"ssr-only":""}},[i("CardAd",{class:"section__grid__highlight__item",attrs:{id:"banner-1190x70-2-area","class-name":"1190x70","run-js":!1,"show-label":!0}})],1)],1)])])])]),e._l(e.data.sections,(function(t,n){return i("Hydrate",e._b({key:e.getKey(t)},"Hydrate",e.whenHydrate(t.config&&t.config.hydrate,n),!1),[i(t.component,e._b({key:e.getKey(t),tag:"component",staticClass:"orderSections__section",attrs:{"data-item-id":t.id,"data-area":t.metrics&&t.metrics.area,metrics:t.metrics},on:{sectionElementMounted:e.observeSection}},"component",Object.assign({},t.data,t.config,{id:t.id,sectionPosition:n}),!1))],1)}))],2)}),[],!1,(function(e){var t=i(472);t.__inject__&&t.__inject__(e)}),null,"6fd1212b"),"function"==typeof l.a&&l()(u),t.a=u.exports},357:function(e,t,i){"use strict";var n=i(9),o=i(10),a=i(2),r=i(5),s=i(4),c=i(3),l=(i(48),i(8)),d=i.n(l),u=i(1),h=i(0);l=function(e){Object(s.a)(u,e);var t,i,l=Object(c.a)(u);function u(){var e;return Object(a.a)(this,u),(e=l.apply(this,arguments)).lazypreload=0===e.sectionPosition,e.elSectionHeight="auto",e.showContainer=!0,e}return Object(r.a)(u,[{key:"whenHydrate",value:function(e){return this.data.isMobile?"CardAd"===e?{whenVisibleAd:!0}:{whenVisible:!0}:{force:!0}}},{key:"getSectionStyle",get:function(){return{"--section-color":this.tools.custom.style.getStationColor(this.station)}}},{key:"gettoggleHeigth",get:function(){var e;return this.showContainer||null===(e=null==this?void 0:this.$el)||void 0===e||!e.clientHeight?{height:"auto"}:{height:"".concat(null===(e=null==this?void 0:this.$el)||void 0===e?void 0:e.clientHeight,"px")}}},{key:"hasMain",get:function(){return!!(this.mainHighlights.length||this.mainRows.length||this.mainBottom.length||this.asideRows.length)}},{key:"getKey",value:function(e){var t;return(null===(t=e.meta)||void 0===t?void 0:t.key)||e.id||e.component}},{key:"toggleContainer",value:function(){var e=this.tools.custom.localStorage.readValue(this.id);this.showContainer="close"!==e}},{key:"handleShowControl",value:function(e){var t,i;!1===e&&(t=null==(i=this.$el.getElementsByTagName("header")[0])?void 0:i.clientHeight,(i=null===(i=null==this?void 0:this.$el)||void 0===i?void 0:i.clientHeight)&&t&&(this.elSectionHeight="".concat(i-t-23,"px"))),this.showContainer=e}},{key:"mounted",value:(i=Object(o.a)(d.a.mark((function e(){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.$nextTick();case 2:this.toggleContainer(),this.$emit("sectionElementMounted",this.$el);case 4:case"end":return e.stop()}}),e,this)}))),function(){return i.apply(this,arguments)})},{key:"created",value:function(){}},{key:"getClassSection",value:function(){var e=["section"];return this.showsGrid&&e.push("section__grid"),this.className&&e.push(this.className),e.join(" ")}},{key:"mergeMetrics",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Object(n.a)(Object(n.a)({},e),this.metrics)}},{key:"getDataBind",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return e.headline?Object(n.a)(Object(n.a)({station:this.station},e.headline),t):e.headlineVideo?Object(n.a)(Object(n.a)({station:this.station},e.headlineVideo),t):e.headlineHybrid?Object(n.a)(Object(n.a)({station:this.station},e.headlineHybrid),t):Object(n.a)(Object(n.a)({station:this.station},e),t)}},{key:"dispatch",value:(t=Object(o.a)(d.a.mark((function e(t){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t({isMobile:this.tools.userAgent.isSmart()});case 1:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),u}(i(6).b);Object(u.a)([Object(h.c)({required:!0})],l.prototype,"id",void 0),Object(u.a)([Object(h.c)({default:function(){return"visible"}})],l.prototype,"hydrate",void 0),Object(u.a)([Object(h.c)({required:!0})],l.prototype,"sectionPosition",void 0),Object(u.a)([Object(h.c)({default:"home"})],l.prototype,"station",void 0),Object(u.a)([Object(h.c)({default:!1})],l.prototype,"showsGrid",void 0),Object(u.a)([Object(h.c)({default:"big"})],l.prototype,"headerSizeSpacing",void 0),Object(u.a)([Object(h.c)({default:""})],l.prototype,"className",void 0),Object(u.a)([Object(h.c)()],l.prototype,"header",void 0),Object(u.a)([Object(h.c)({default:[]})],l.prototype,"highlightRows",void 0),Object(u.a)([Object(h.c)({default:[]})],l.prototype,"mainHighlights",void 0),Object(u.a)([Object(h.c)({default:[]})],l.prototype,"mainRows",void 0),Object(u.a)([Object(h.c)({default:[]})],l.prototype,"mainBottom",void 0),Object(u.a)([Object(h.c)({default:[]})],l.prototype,"asideRows",void 0),Object(u.a)([Object(h.c)({default:[]})],l.prototype,"footerRows",void 0),Object(u.a)([Object(h.d)("lazypreload")],l.prototype,"lazypreload",void 0),u=l=Object(u.a)([Object(h.a)({name:"Section"})],l),h=i(7),l=i(182),l=i.n(l),u=Object(h.a)(u,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("section",{key:"section-id-"+e.id,class:e.getClassSection(),style:[e.getSectionStyle,{"--section-height":e.elSectionHeight}],attrs:{"aria-labelledby":e.id}},[e.header?i("HeaderSection",e._b({class:["section__headerSection",{"section__headerSection--spacingSmall":"small"===e.headerSizeSpacing}],attrs:{id:e.id,metrics:Object.assign({},e.metrics,{position:"1",category:"header-section"})},on:{"show-changed":e.handleShowControl}},"HeaderSection",e.header,!1)):e._e(),i("div",{directives:[{name:"show",rawName:"v-show",value:e.showContainer,expression:"showContainer"}],staticClass:"container"},[i("div",{staticClass:"row"},[e.highlightRows&&e.highlightRows.length?i("div",{staticClass:"col-24",attrs:{id:e.header?null:e.id}},[i("div",{staticClass:"section__grid__highlight"},e._l(e.highlightRows,(function(t){return i("Hydrate",e._b({key:e.getKey(t)},"Hydrate",e.whenHydrate(t.component),!1),[i(t.component,e._b({key:e.getKey(t),tag:"component",staticClass:"section__grid__highlight__item",attrs:{metrics:e.mergeMetrics(t.metrics)}},"component",e.getDataBind(t.data,t.config),!1))],1)})),1)]):e._e(),e.hasMain?i("div",{staticClass:"col-24"},[i("div",{staticClass:"row section__grid__main"},[i("div",{staticClass:"col-24 col-lg-15"},[e.mainHighlights&&e.mainHighlights.length?e._l(e.mainHighlights,(function(t){return i("Hydrate",e._b({key:e.getKey(t)},"Hydrate",e.whenHydrate(t.component),!1),[i(t.component,e._b({key:e.getKey(t),tag:"component",staticClass:"section__grid__main__highlight__item",attrs:{metrics:e.mergeMetrics(t.metrics)}},"component",e.getDataBind(t.data,t.config),!1))],1)})):e._e(),e.mainRows&&e.mainRows.length?i("div",{staticClass:"section__grid__main__rows"},[i("SectionGrid",{attrs:{"main-rows":e.mainRows,"use-container":!1,"shows-grid":!1,metrics:e.metrics}})],1):e._e(),e.mainBottom&&e.mainBottom.length?e._l(e.mainBottom,(function(t){return i("Hydrate",e._b({key:e.getKey(t)},"Hydrate",e.whenHydrate(t.component),!1),[i(t.component,e._b({key:e.getKey(t),tag:"component",staticClass:"section__grid__main__bottom__item",attrs:{metrics:e.mergeMetrics(t.metrics)}},"component",e.getDataBind(t.data,t.config),!1))],1)})):e._e()],2),e.asideRows&&e.asideRows.length?i("div",{staticClass:"section__grid__aside col-24 col-lg-9"},e._l(e.asideRows,(function(t){return i("Hydrate",e._b({key:e.getKey(t)},"Hydrate",e.whenHydrate(t.component),!1),[i(t.component,e._b({key:e.getKey(t),tag:"component",staticClass:"section__grid__aside__item",attrs:{metrics:e.mergeMetrics(t.metrics)}},"component",e.getDataBind(t.data,t.config),!1))],1)})),1):e._e()])]):e._e(),e.footerRows&&e.footerRows.length?i("div",{staticClass:"col-24"},[i("div",{staticClass:"section__grid__footer"},e._l(e.footerRows,(function(t){return i("Hydrate",e._b({key:e.getKey(t)},"Hydrate",e.whenHydrate(t.component),!1),[i(t.component,e._b({key:e.getKey(t),tag:"component",staticClass:"section__grid__footer__item",attrs:{metrics:e.mergeMetrics(t.metrics)}},"component",e.getDataBind(t.data,t.config),!1))],1)})),1)]):e._e()])])],1)}),[],!1,(function(e){var t=i(494);t.__inject__&&t.__inject__(e)}),null,"2cc3993a"),"function"==typeof l.a&&l()(u),t.a=u.exports},358:function(e,t,i){"use strict";var n=i(9),o=i(2),a=i(5),r=i(4),s=i(3),c=(i(48),i(1)),l=i(0),d=function(e){Object(r.a)(i,e);var t=Object(s.a)(i);function i(){return Object(o.a)(this,i),t.apply(this,arguments)}return Object(a.a)(i,[{key:"whenHydrate",value:function(e){return this.data.isMobile?"CardAd"===e?{whenVisibleAd:!0}:{whenVisible:!0}:{force:!0}}},{key:"getKey",value:function(e){var t;return(null===(t=e.meta)||void 0===t?void 0:t.key)||e.id||e.component}},{key:"mergeMetrics",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Object(n.a)(Object(n.a)({},this.metrics),e)}},{key:"hasCols",value:function(e){var t=e.columns;return!!(null!==(e=null==t?void 0:t[0])&&void 0!==e&&e.length||null!==(e=null==t?void 0:t[1])&&void 0!==e&&e.length||null!==(t=null==t?void 0:t[2])&&void 0!==t&&t.length)}},{key:"hasHighlights",value:function(e){return!(null===(e=e.highlights)||void 0===e||!e.length)}},{key:"created",value:function(){}},{key:"getClassSection",value:function(){var e=["sectionGrid__rows"];return this.useContainer&&e.push("container"),this.showsGrid&&e.push("sectionGrid__grid"),e.join(" ")}},{key:"getDataBind",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return e.headline?Object(n.a)(Object(n.a)({isInternalComponentSectionGrid:!0},e.headline),t):e.headlineVideo?Object(n.a)(Object(n.a)({isInternalComponentSectionGrid:!0},e.headlineVideo),t):Object(n.a)(Object(n.a)({isInternalComponentSectionGrid:!0},e),t)}},{key:"dispatch",value:function(e){e({isMobile:this.tools.userAgent.isSmart()})}}]),i}(i(6).b);Object(c.a)([Object(l.c)({required:!0})],d.prototype,"id",void 0),Object(c.a)([Object(l.c)({default:!0})],d.prototype,"useContainer",void 0),Object(c.a)([Object(l.c)({default:!1})],d.prototype,"showsGrid",void 0),Object(c.a)([Object(l.c)({default:[]})],d.prototype,"mainRows",void 0),c=d=Object(c.a)([Object(l.a)({name:"SectionGrid"})],d),l=i(7),d=i(183),d=i.n(d),c=Object(l.a)(c,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.mainRows&&e.mainRows.length?i("div",{staticClass:"sectionGrid",attrs:{"aria-labelledby":e.id}},e._l(e.mainRows,(function(t,n){return i("div",{key:"section-grid-"+n,class:e.getClassSection(),attrs:{id:0===n?e.id:null}},[e.hasHighlights(t)||e.hasCols(t)?i("div",{staticClass:"row"},[i("div",{staticClass:"col-24 col-lg-16"},[e.hasHighlights(t)?i("div",{staticClass:"sectionGrid__grid__highlight"},e._l(t.highlights,(function(t,n){return i("Hydrate",e._b({key:"section-grid-highlights-"+n},"Hydrate",e.whenHydrate(t.component),!1),[i(t.component,e._b({key:"section-grid-highlights-"+n,tag:"component",staticClass:"sectionGrid__grid__highlight__item",attrs:{metrics:e.mergeMetrics(t.metrics)}},"component",e.getDataBind(t.data,t.config),!1))],1)})),1):e._e(),e.hasCols(t)?i("div",{staticClass:"row"},[t.columns&&t.columns[0]&&t.columns[0].length?i("div",{staticClass:"col-24 col-lg-12 sectionGrid__grid__columnOne"},e._l(t.columns[0],(function(t){return i("Hydrate",e._b({key:e.getKey(t)},"Hydrate",e.whenHydrate(t.component),!1),[i(t.component,e._b({key:e.getKey(t),tag:"component",staticClass:"sectionGrid__grid__columnOne__item",attrs:{metrics:e.mergeMetrics(t.metrics)}},"component",e.getDataBind(t.data,t.config),!1))],1)})),1):e._e(),t.columns&&t.columns[1]&&t.columns[1].length?i("div",{staticClass:"col-24 col-lg-12 sectionGrid__grid__columnTwo"},e._l(t.columns[1],(function(t){return i("Hydrate",e._b({key:e.getKey(t)},"Hydrate",e.whenHydrate(t.component),!1),[i(t.component,e._b({key:e.getKey(t),tag:"component",staticClass:"sectionGrid__grid__columnTwo__item",attrs:{metrics:e.mergeMetrics(t.metrics)}},"component",e.getDataBind(t.data,t.config),!1))],1)})),1):e._e()]):e._e()]),t.columns&&t.columns[2]&&t.columns[2].length?i("div",{staticClass:"col-24 col-lg-8 sectionGrid__grid__columnThree"},e._l(t.columns[2],(function(t){return i("Hydrate",e._b({key:e.getKey(t)},"Hydrate",e.whenHydrate(t.component),!1),[i(t.component,e._b({key:e.getKey(t),tag:"component",staticClass:"sectionGrid__grid__columnThree__item",attrs:{metrics:e.mergeMetrics(t.metrics)}},"component",e.getDataBind(t.data,t.config),!1))],1)})),1):e._e()]):e._e(),t.bottom&&t.bottom.length?i("div",{staticClass:"sectionGrid__grid__bottom"},e._l(t.bottom,(function(t,n){return i("Hydrate",e._b({key:"section-grid-bottom-"+n},"Hydrate",e.whenHydrate(t.component),!1),[i(t.component,e._b({key:"section-grid-bottom-"+n,tag:"component",staticClass:"sectionGrid__grid__bottom__item",attrs:{metrics:e.mergeMetrics(t.metrics)}},"component",e.getDataBind(t.data,t.config),!1))],1)})),1):e._e()])})),0):e._e()}),[],!1,(function(e){var t=i(496);t.__inject__&&t.__inject__(e)}),null,"e816818a"),"function"==typeof d.a&&d()(c),t.a=c.exports},359:function(e,t,i){"use strict";var n=i(10),o=i(9),a=i(2),r=i(5),s=i(4),c=i(3),l=i(8),d=i.n(l),u=(i(24),i(19),i(40),i(13),i(17),i(30),i(126),i(46),i(45),i(51),i(75),i(16),i(14),i(48),i(1)),h=i(0);l=function(e){Object(s.a)(h,e);var t,i,l,u=Object(c.a)(h);function h(){var e;return Object(a.a)(this,h),(e=u.apply(this,arguments)).NUMBER_OF_RECOMMEND_ITEMS=100,e.TOTAL_COLUMNS=1,e.showSkeleton=!0,e.showErrorScreen=!1,e.showMainRows=!1,e.userHasAnAbTest=!1,e.mainRows=[],e}return Object(r.a)(h,[{key:"ITEMS_BY_BLOCK",get:function(){var e=this.TOTAL_COLUMNS||1;return this.LINES_BY_BLOCK[e].map((function(t){return t*e}))}},{key:"LINES_BY_BLOCK",get:function(){return{1:[15,15,15,0],4:[4,4,4,0],3:[5,7,7,0]}}},{key:"hasMainRows",get:function(){return!!this.mainRows.length}},{key:"errorScreenStyle",get:function(){return{"--section-color":"#016f62"}}},{key:"skeletonItems",get:function(){return this.data.isMobile?new Array(30):new Array(60)}},{key:"defaultMetrics",get:function(){return{area:"feed",category:"card-feed"}}},{key:"errorMetricsPrint",get:function(){return{metrics:Object(o.a)(Object(o.a)({},this.defaultMetrics),{},{label:"content-reload"}),options:{impressionPercentage:100,timeout:1}}}},{key:"startFeedMetricsPrint",value:function(e){if(!1!==this.userHasAnAbTest)return{metrics:Object(o.a)(Object(o.a)({},this.defaultMetrics),{},{category:"feed-".concat(e+1),label:"componente-visualizado"}),options:{useComponentSizeInViewport:!0}}}},{key:"endFeedMetricsPrint",get:function(){return{metrics:Object(o.a)(Object(o.a)({},this.defaultMetrics),{},{category:"end-feed",label:"componente-visualizado"})}}},{key:"hasHighlights",value:function(e){return!(null==e||!e.length)}},{key:"hasBottom",value:function(e){return!(null==e||!e.length)}},{key:"getColumnsFromMainRows",value:function(e){return this.data.isMobile?1:e||4}},{key:"getColumnClassFromMainRows",value:function(e){return"col-24".concat(3===e?" col-lg-8 sectionGridFeed__column":" col-lg-6 sectionGridFeed__column")}},{key:"getColumnComponents",value:function(e,t,i){if(this.data.isMobile)return i;for(var n=[],o=e;n.push(o),(o+=t)<i.length;);return i.filter((function(e,t){return n.includes(t)}))}},{key:"getDataBind",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=this.data.isMobile?void 0:this.mainRows[0].columns;return e.headline?Object(o.a)(Object(o.a)(Object(o.a)({},e.headline),t),{},{column:i,isMobile:this.data.isMobile}):Object(o.a)(Object(o.a)(Object(o.a)({},e),t),{},{column:i,isMobile:this.data.isMobile})}},{key:"changeImageCrop",value:function(e,t){if(!this.data.isMobile&&!t){if(4===this.data.gridColumn)return e.replace(/_v2_(\d+x\d+)\./,"_v2_300x168.");if(3===this.data.gridColumn)return e.replace(/_v2_(\d+x\d+)\./,"_v2_300x300.")}return this.data.isMobile&&!t?e.replace(/_v2_(\d+x\d+)\./,"_v2_150x112."):e.replace(/_v2_(\d+x\d+)\./,"_v2_300x225.")}},{key:"parsedRecommendedHeadlines",value:function(e){var t=this,i={noticias:["notícias"],"folha de s. paulo ":["folha","folha de são paulo"],"viva-bem":["vivabem"],educacao:["educação"],"tv-famosos":["tv e famosos"],entrete:["entretenimento"],play:["uol play"],channel:["canal uol"]};return e.map((function(e,n){return{component:e.in_queue_to_call?"CardFeedHighlights":"HeadlineStandardFeed",data:{headline:{id:e.id,title:e.title,link:e.link,kicker:e.site_name,station:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t="";return Object.values(i).forEach((function(n,o){n.includes(e.toLowerCase())&&(t=Object.keys(i)[o])})),t||e.toLowerCase()}(null==e?void 0:e.site_name),isPartner:e.is_partner,photo:e.image?{images:[{src:t.changeImageCrop(e.image.replace("http://","https://"),e.in_queue_to_call),credit:e["imagem-credito"]||void 0}]}:void 0,metrics:Object(o.a)(Object(o.a)({},t.defaultMetrics),{},{position:"".concat(n+1),label:(n=e.in_queue_to_call,e=e.image,n?e?"highlight-photo":"highlight-no-photo":e?"content-photo":"content-no-photo")})}}}}))}},{key:"removePartners",value:function(e){return e.filter((function(e){return!e.is_partner}))}},{key:"statusURI",value:function(e){return e=e?this.config.domain.path:"c.jsuol.com.br/bol","//".concat(e,"/vueland/assets")}},{key:"setItemsToFeed",value:function(){var e=this;null!==(t=null==(o=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{})?void 0:o.items)&&void 0!==t&&t.length||this.handleFetchError(new Error("[SectionGridFeed] NO ITEMS"));var t=o.items,i=this.TOTAL_COLUMNS,n=this.ITEMS_BY_BLOCK,o=this.NUMBER_OF_RECOMMEND_ITEMS,a=[this.createCardAd("","native-vitrine","1190x330"),this.createCardAd("banner-responsive-horizontal-4","","1190x330"),this.createCardAd("banner-responsive-horizontal-5","","1190x330")],r=(t=this.removePartners(t),o=this.tools.custom.blocklist.filterHeadlines(t).splice(0,o),this.parsedRecommendedHeadlines(o));(function t(){var o=a.shift();e.mainRows.length<n.length&&(e.mainRows.push({highlights:r.splice(0,n[e.mainRows.length]||r.length),bottom:o?[o]:[],columns:i}),setTimeout(t))})(),this.handleMainRows()}},{key:"handleFetchError",value:function(e){var t=this,i=-1===window.location.hostname.indexOf("www.bol.uol.com.br");fetch("".concat(this.statusURI(i),"/?loadComponent=SnapshotFeed&contentType=js")).then((function(e){return e.json()})).then((function(e){e.items&&e.items.length?t.setItemsToFeed(e):(t.handleErrorScreen(),t.setReportError(JSON.stringify(e)))})).catch((function(e){t.handleErrorScreen(),t.setReportError(e)})),this.setReportError(e)}},{key:"getRecommendedHeadlinesAPI",value:(l=Object(n.a)(d.a.mark((function e(){var t,i,n=this;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.handleSkeleton(),e.prev=2,i=this.NUMBER_OF_RECOMMEND_ITEMS,t=this.data.sendParamsToService,performance.mark("_uol-measure-bol-feed-request-time:start"),i="referrer=".concat("https://www.bol.uol.com.br","&algorithm=").concat("home_chronos_recommendation","&items=").concat(i+20,"&pages=1"),t&&(i=Object.keys(t).map((function(e){return"".concat(e,"=").concat(t[e])})).join("&")),i="https://recommendation.uol.com.br/recommend_item?".concat(i),e.next=13,this.fetch.get(i,{loadingTimeout:6e3,onOffline:function(){return n.handleFetchError(new Error("Offline"))},onLoadingSlow:function(){return n.handleFetchError(new Error("Slow"))}});case 13:i=e.sent,performance.measure("uol-measure-bol-feed-request-time","_uol-measure-bol-feed-request-time:start"),performance.clearMarks("_uol-measure-bol-feed-request-time:start"),this.setItemsToFeed(i.data),e.next=23;break;case 19:e.prev=19,e.t0=e.catch(2),this.handleErrorScreen(),this.setReportError(e.t0);case 23:case"end":return e.stop()}}),e,this,[[2,19]])}))),function(){return l.apply(this,arguments)})},{key:"setReportError",value:function(e){throw window.ReportError({message:e.message,stack:e.stack||"no stack"}),this.tools.custom.debug.logError("[SectionGridFeed] erro na requisição",e),new Error("[SectionGridFeed] Feed request failed: ".concat(e))}},{key:"handleErrorScreen",value:function(){this.showSkeleton=!1,this.showMainRows=!1,this.mainRows.length=0,this.showErrorScreen=!0}},{key:"handleSkeleton",value:function(){this.showErrorScreen=!1,this.showMainRows=!1,this.mainRows.length=0,this.showSkeleton=!0}},{key:"handleMainRows",value:function(){this.showErrorScreen=!1,this.showSkeleton=!1,this.showMainRows=!0}},{key:"createCardAd",value:function(e,t,i){return{component:"CardAd",config:{id:e,className:i,classAd:t}}}},{key:"setConfigTestAbExpCTD0032",value:function(){var e={A:{columns:4,testId:"expCTD0032VWrDDe001"},B:{columns:3,testId:"expCTD0032VWrDDe002"},N:{columns:4,testId:void 0}}[0<arguments.length&&void 0!==arguments[0]?arguments[0]:"N"];this.TOTAL_COLUMNS=e.columns,window.universal_variable.aud.abTest2=e.testId,this.userHasAnAbTest=!!e.testId}},{key:"getParamsUserHistory",value:function(){var e,t,i,n,o=this.tools.request.getParams();return o&&(t=o.algorithm,i=o.items,n=o.pages,t&&i&&n&&(e=o)),e}},{key:"getABTest",value:(i=Object(n.a)(d.a.mark((function e(){var t=this;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e){window._uolabtestsev=window._uolabtestsev||[],window._uolabtestsev.push((function(){!1===t.data.isMobile&&t.setConfigTestAbExpCTD0032(window._uolabtest("_grandabcExpCTD0032")),e(void 0)}))})));case 1:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)})},{key:"created",value:function(){}},{key:"mounted",value:(t=Object(n.a)(d.a.mark((function e(){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.tools.custom.blocklist.getLinks(),!1===this.data.isMobile&&(this.TOTAL_COLUMNS=4),e.next=4,this.getRecommendedHeadlinesAPI();case 4:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"dispatch",value:function(e){e({isMobile:this.tools.userAgent.isSmart(),sendParamsToService:this.getParamsUserHistory()})}}]),h}(i(6).c);Object(u.a)([Object(h.c)({required:!0})],l.prototype,"id",void 0),u=l=Object(u.a)([Object(h.a)({name:"SectionGridFeed"})],l),h=i(7),l=i(184),l=i.n(l),u=Object(h.a)(u,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("section",{staticClass:"sectionGridFeed",attrs:{"aria-labelledby":e.id}},[e.showMainRows?e._l(e.mainRows,(function(t,n){return i("div",{key:t.id,staticClass:"container sectionGridFeed__rows"},[e.hasHighlights(t.highlights)?i("div",{directives:[{name:"metrics-print",rawName:"v-metrics-print",value:e.startFeedMetricsPrint(n),expression:"startFeedMetricsPrint(index)"}],staticClass:"row"},e._l(e.getColumnsFromMainRows(t.columns),(function(n,o){return i("div",{key:"section-grid-feed-columns-"+n,class:e.getColumnClassFromMainRows(t.columns)},e._l(e.getColumnComponents(o,e.getColumnsFromMainRows(t.columns),t.highlights),(function(t,n){return i(t.component,e._b({key:"section-grid-feed-columns-rows-"+n,tag:"component",staticClass:"sectionGridFeed__rows__item"},"component",e.getDataBind(t.data,t.config),!1))})),1)})),0):e._e(),e.hasBottom(t.bottom)?i("div",{staticClass:"sectionGridFeed__bottom"},e._l(t.bottom,(function(t,n){return i(t.component,e._b({key:"section-grid-feed-bottom-"+n,tag:"component",staticClass:"sectionGridFeed__bottom__item"},"component",e.getDataBind(t.data,t.config),!1))})),1):e._e()])})):e._e(),e.showSkeleton?[i("div",{staticClass:"container sectionGridFeed__fade__loading"},[i("div",{staticClass:"row"},e._l(e.skeletonItems,(function(t){return i("div",{key:t,staticClass:"col-24 col-lg-6 sectionGridFeed__fade__loading__item"},[i("span",{staticClass:"sectionGridFeed__fade__loading__photo loading__skeleton"}),e._m(0,!0)])})),0)])]:e._e(),e.showErrorScreen?i("ErrorScreen",{directives:[{name:"metrics-print",rawName:"v-metrics-print",value:e.errorMetricsPrint,expression:"errorMetricsPrint"}],staticClass:"sectionGridFeed__errorScreen",style:e.errorScreenStyle,attrs:{metrics:Object.assign({},e.defaultMetrics,{position:"1"})},on:{click:function(t){return e.getRecommendedHeadlinesAPI()}}}):e._e(),i("div",{directives:[{name:"show",rawName:"v-show",value:e.userHasAnAbTest,expression:"userHasAnAbTest"},{name:"metrics-print",rawName:"v-metrics-print",value:e.endFeedMetricsPrint,expression:"endFeedMetricsPrint"}],staticClass:"sectionGridFeed__end"})],2)}),[function(){var e=this.$createElement;return(e=this._self._c||e)("div",{staticClass:"sectionGridFeed__fade__loading__container"},[e("span",{staticClass:"sectionGridFeed__fade__loading__title loading__skeleton sectionGridFeed__fade__loading__title--large"}),e("span",{staticClass:"sectionGridFeed__fade__loading__title loading__skeleton sectionGridFeed__fade__loading__title--large"}),e("span",{staticClass:"sectionGridFeed__fade__loading__title loading__skeleton sectionGridFeed__fade__loading__title--medium"})])}],!1,(function(e){var t=i(498);t.__inject__&&t.__inject__(e)}),null,"429a1296"),"function"==typeof l.a&&l()(u),t.a=u.exports},369:function(e,t,i){"use strict";var n=i(12),o=i(25),a=i(10),r=i(2),s=i(5),c=i(4),l=i(3),d=i(8),u=i.n(d),h=(i(16),i(65),i(28),i(31),i(19),i(51),i(53),i(1)),_=i(0);d=function(e){Object(c.a)(h,e);var t,i,d=Object(l.a)(h);function h(){var e;return Object(r.a)(this,h),(e=d.apply(this,arguments)).default={},e}return Object(s.a)(h,[{key:"created",value:function(){}},{key:"dispatch",value:(i=Object(a.a)(u.a.mark((function e(t){var i,n,a,r,s,c,l;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=[],a=new Set,e.next=4,this.getHeadlineMain();case 4:return r=e.sent,e.next=7,this.getVideoModule();case 7:return s=e.sent,c={asideRows:[s]},r&&(n.push(r),this.collectLinks(r,a)),e.next=12,this.apis.custom.chartbeatNews.getNews("uol-conteudo",30,{"tags-id":"80285+OR+15308",size:"30"});case 12:l=e.sent,null!==(s=null===(s=null==l?void 0:l.data)||void 0===s?void 0:s.headlineCollection)&&void 0!==s&&s.length&&(n.push.apply(n,Object(o.a)(l.data.headlineCollection.filter((function(e){return!a.has(e.link)})))),i=this.apis.custom.section.createSectionWith(n,"topo-bol",c)),t({section:i});case 15:case"end":return e.stop()}}),e,this)}))),function(e){return i.apply(this,arguments)})},{key:"getVideoModule",value:function(){return this.apis.custom.section.getDataCommons("/vueland/modules/general-section/channel-player-1.json").then((function(e){return e.component="cardVideo",e})).catch((function(){return{component:"cardVideo"}}))}},{key:"getHeadlineMain",value:(t=Object(a.a)(u.a.mark((function e(){var t,i,n;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=1,e.next=4,this.apis.custom.section.getDataCommons("/vueland/order-modules/principal-section-1.json");case 4:if(i=e.sent,null===(t=null===(t=null===(t=i.data)||void 0===t?void 0:t.main)||void 0===t?void 0:t.highlights)||void 0===t||!t.length){e.next=12;break}if(n=i.data.main.highlights.find((function(e){return/^.*\/headline-main-\d.json$/.test(e.path)})))return e.next=10,this.apis.custom.section.getDataCommons(n.path);e.next=12;break;case 10:return n=e.sent,e.abrupt("return",n.data.headlineHybrid.responsive||n.data.headlineHybrid.web);case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(1),this.tools.log.error(e.t0);case 17:return e.abrupt("return",void 0);case 18:case"end":return e.stop()}}),e,this,[[1,14]])}))),function(){return t.apply(this,arguments)})},{key:"collectLinks",value:function(e,t){t.add(e.link);var i,o=Object(n.a)(e.relateds||[]);try{for(o.s();!(i=o.n()).done;){var a=i.value;t.add(a.link)}}catch(e){o.e(e)}finally{o.f()}}}]),h}(i(6).c),h=d=Object(h.a)([Object(_.a)({name:"TopoBol"})],d),_=i(7),d=i(189),d=i.n(d),h=Object(_.a)(h,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("Section",{attrs:{id:"topo-bol","main-highlights":e.data.section.mainHighlights,"main-rows":e.data.section.mainRows,"aside-rows":e.data.section.asideRows,"footer-rows":e.data.section.footerRows,"section-position":0,metrics:{area:"topo"}}})}),[],!1,null,null,"5ed33593");"function"==typeof d.a&&d()(h),t.a=h.exports},401:function(e,t,i){"use strict";i.r(t);var n,o=i(214);for(n in o)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(n)},402:function(e,t,i){},405:function(e,t,i){"use strict";i.r(t);var n,o=i(215);for(n in o)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(n)},406:function(e,t,i){},409:function(e,t,i){"use strict";i.r(t);var n,o=i(217);for(n in o)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(n)},410:function(e,t,i){},411:function(e,t,i){"use strict";i.r(t);var n,o=i(218);for(n in o)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(n)},412:function(e,t,i){},413:function(e,t,i){"use strict";i.r(t);var n,o=i(219);for(n in o)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(n)},414:function(e,t,i){},415:function(e,t,i){"use strict";i.r(t);var n,o=i(220);for(n in o)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(n)},416:function(e,t,i){},429:function(e,t,i){"use strict";i.r(t);var n,o=i(226);for(n in o)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(n)},430:function(e,t,i){},433:function(e,t,i){"use strict";i.r(t);var n,o=i(228);for(n in o)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(n)},434:function(e,t,i){},447:function(e,t,i){"use strict";i.r(t);var n,o=i(237);for(n in o)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(n)},448:function(e,t,i){},457:function(e,t,i){"use strict";i.r(t);var n,o=i(242);for(n in o)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(n)},458:function(e,t,i){},472:function(e,t,i){"use strict";i.r(t);var n,o=i(254);for(n in o)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(n)},473:function(e,t,i){},494:function(e,t,i){"use strict";i.r(t);var n,o=i(266);for(n in o)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(n)},495:function(e,t,i){},496:function(e,t,i){"use strict";i.r(t);var n,o=i(267);for(n in o)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(n)},497:function(e,t,i){},498:function(e,t,i){"use strict";i.r(t);var n,o=i(268);for(n in o)["default"].indexOf(n)<0&&function(e){i.d(t,e,(function(){return o[e]}))}(n)},499:function(e,t,i){}}]);
