(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{273:function(e,t,n){var a=n(570);(a="string"==typeof(a=a.__esModule?a.default:a)?[[e.i,a,""]]:a).locals&&(e.exports=a.locals),(0,n(11).default)("79cf1c9c",a,!0,{singleton:!0})},569:function(e,t,n){"use strict";n.r(t);var a,o=n(273);for(a in o)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(a)},570:function(e,t,n){},7:function(e,t,n){"use strict";n.d(t,"e",(function(){return s})),n.d(t,"c",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return d})),n.d(t,"d",(function(){return h}));var a=n(5),o=n(2),r=n(4),i=n(3),c=n(1),s=(t=n(19),n=n(0),function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments))["state-alias"]="",e}return n}(t.a));Object(c.a)([Object(n.c)()],s.prototype,"state-alias",void 0),Object(c.a)([Object(n.c)()],s.prototype,"__id__",void 0),Object(c.a)([Object(n.c)({default:function(){return{}}})],s.prototype,"data",void 0),Object(c.a)([Object(n.c)({default:function(){return{}}})],s.prototype,"noopProp",void 0),Object(c.a)([Object(n.c)({default:function(){return!1}})],s.prototype,"__initiator__",void 0);var u=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return n}(s);Object(c.a)([Object(n.c)()],u.prototype,"metrics",void 0);var l=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n,[{key:"onHeadlineCollectionChange",value:function(e,t){}}]),n}(u);Object(c.a)([Object(n.c)({required:!0})],l.prototype,"headlineCollection",void 0),Object(c.a)([Object(n.e)("headlineCollection")],l.prototype,"onHeadlineCollectionChange",null);var d=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return n}(u);Object(c.a)([Object(n.c)({required:!0})],d.prototype,"itemCollection",void 0);var h=function(e){Object(r.a)(n,e);var t=Object(i.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return n}(u);Object(c.a)([Object(n.c)({required:!0})],h.prototype,"newsletterCollection",void 0)},832:function(e,t,n){"use strict";n.r(t),n(13),n(51),n(21),n(565),n(16),n(17);var a=n(19),o=n(2),r=n(5),i=n(4),c=n(3),s=(n(43),n(1)),u=n(0),l=n(7),d=(n(58),function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).chosen="default",e.classes="ab-w",e}return Object(r.a)(n,[{key:"dispatch",value:function(e){var t=!(!this.domain||this.domain==this.tools.request.domain)||!(!this.path||this.path==this.tools.request.uri);e({domain:this.tools.request.domain,path:this.tools.request.uri,always:t?"default":void 0})}},{key:"created",value:function(){}},{key:"render",value:function(e){if(!this.chosen)return e();var t=this.use||this.data.always||this.always||this.chosen,n=this.$slots[t];return n&&1==n.length&&n[0].tag?(n[0].children[0].componentOptions.propsData.stateAlias=this.testName+"-"+t+"-"+(new Date).getTime(),n[0].data={attrs:{class:this.use?"":this.classes}},n[0]):(n=0<(n=Object.keys(this.$slots)).length?n[0]:"default",n=this.$slots.default||this.$slots[n],e(this.tag,[n]))}},{key:"mounted",value:function(){var e=this;this.chosen=this.tools.custom.ab.mount({testName:this.testName,endTime:this.endTime,domain:this.domain||void 0,path:this.path||void 0,slots:Object.keys(this.$slots),draw:this.draw||null,sample:function(t){e.$emit("sample",t)},pick:function(t){e.$emit("pick",t)},data:this.data}),this.chosen&&this.use&&(this.chosen=this.use),e.classes=""}}]),n}(l.e));Object(s.a)([Object(u.c)({type:String,default:function(){return"div"}})],d.prototype,"tag",void 0),Object(s.a)([Object(u.c)({type:Object})],d.prototype,"draw",void 0),Object(s.a)([Object(u.c)({type:String,default:function(){return"vueland-ab-cookie"}})],d.prototype,"testName",void 0),Object(s.a)([Object(u.c)({type:String,default:function(){return null}})],d.prototype,"domain",void 0),Object(s.a)([Object(u.c)({type:String,default:function(){return null}})],d.prototype,"path",void 0),Object(s.a)([Object(u.c)({type:String,default:function(){return null}})],d.prototype,"always",void 0),Object(s.a)([Object(u.c)({type:String,default:function(){return null}})],d.prototype,"use",void 0),Object(s.a)([Object(u.c)({type:String,default:function(){return null}})],d.prototype,"endTime",void 0),Object(s.a)([Object(u.c)({type:Function,default:function(){return null}})],d.prototype,"sample",void 0),Object(s.a)([Object(u.c)({type:Function,default:function(){return null}})],d.prototype,"pick",void 0);var h=d=Object(s.a)([Object(u.a)({name:"AB"})],d),p=n(8);function f(){Array.from(Xt.values()).forEach((function(e,t){function n(){return window.requestAnimationFrame((function(){e.dispatchEvent(new CustomEvent("hydration:visible")),!1===Yt&&(Yt=!0,document.dispatchEvent(new CustomEvent("hydration:firstHydrateRunDone")))}))}en.unobserve(e),window.requestIdleCallback?requestIdleCallback(n,{timeout:200}):setTimeout(n,1e3/60+450*t)})),Xt.clear()}var v,m=Object(p.a)(h,void 0,void 0,!1,(function(e){var t=n(569);t.__inject__&&t.__inject__(e)}),null,"10a9a4b0").exports,b=n(418),y=n(419),g=n(420),O=n(421),_=n(415),w=n(422),j=n(423),k=n(424),C=n(425),S=n(426),T=n(427),A=n(428),E=n(429),L=n(430),I=n(431),x=n(432),D=n(433),$=n(434),P=n(435),R=n(436),N=n(437),F=n(438),H=n(439),M=n(440),U=n(441),B=n(442),q=n(443),z=n(444),G=n(445),V=n(446),W=n(447),J=n(448),Q=n(449),K=n(450),Z=n(451),X=n(416),Y=n(452),ee=n(453),te=n(454),ne=n(455),ae=n(456),oe=n(457),re=n(458),ie=n(459),ce=n(460),se=n(461),ue=n(462),le=n(463),de=n(464),he=n(465),pe=n(466),fe=n(467),ve=n(468),me=n(469),be=n(470),ye=n(471),ge=n(472),Oe=n(473),_e=n(474),we=n(475),je=n(476),ke=n(477),Ce=n(478),Se=n(479),Te=n(480),Ae=n(481),Ee=n(482),Le=n(483),Ie=n(484),xe=n(485),De=n(486),$e=n(487),Pe=n(488),Re=n(489),Ne=n(490),Fe=n(491),He=n(492),Me=n(493),Ue=n(494),Be=n(495),qe=n(496),ze=n(497),Ge=n(498),Ve=n(499),We=n(500),Je=n(501),Qe=n(502),Ke=n(503),Ze=n(504),Xe=n(505),Ye=n(506),et=n(507),tt=n(508),nt=n(509),at=n(510),ot=n(511),rt=n(512),it=n(513),ct=n(514),st=n(515),ut=n(516),lt=n(517),dt=n(518),ht=n(519),pt=n(520),ft=n(417),vt=n(521),mt=n(522),bt=n(523),yt=n(524),gt=n(525),Ot=n(526),_t=n(527),wt=n(528),jt=n(529),kt=n(530),Ct=n(531),St=n(532),Tt=n(533),At=n(534),Et=n(535),Lt=n(536),It=n(537),xt=n(538),Dt=n(539),$t=n(540),Pt=n(541),Rt=n(542),Nt=n(543),Ft=n(544),Ht=n(545),Mt=n(546),Ut=n(547),Bt=n(548),qt=n(549),zt=n(550),Gt=n(551),Vt=n(552),Wt=n(553),Jt=n(554),Qt=(t=n(555),l=n(556),s=n(557),u=n(558),d=n(559),p=n(560),n(9)),Kt=n(15),Zt=(n(74),n(29),n(33),n(377),n(12),n(22),n(24),"undefined"!=typeof window),Xt=(h=Zt&&window.Config&&"mobile"===Config.plataforma,h=Zt?"".concat(h?"10%":"0%"):"0px",new Set),Yt=!1,en="undefined"!=typeof IntersectionObserver?new IntersectionObserver((function(e,t){var n,a=Object(Kt.a)(e);try{for(a.s();!(n=a.n()).done;){var o=n.value;o.isIntersecting||0<o.intersectionRatio?Xt.add(o.target):Xt.delete(o.target)}}catch(e){a.e(e)}finally{a.f()}}),{rootMargin:"".concat(h," 0px ").concat(h," 0px"),threshold:[0,1]}):null,tn="undefined"!=typeof IntersectionObserver?new IntersectionObserver((function(e,t){var n,a=Object(Kt.a)(e);try{for(a.s();!(n=a.n()).done;){var o=n.value;(o.isIntersecting||0<o.intersectionRatio)&&(o.target.dispatchEvent(new CustomEvent("hydration:visible")),t.unobserve(o.target))}}catch(e){a.e(e)}finally{a.f()}}),{rootMargin:"300% 0px 300% 0px",threshold:[0,1]}):null,nn={resolved:!0},an={},on={attrs:{"data-force-hydrate":!0}},rn=!1;Zt&&(document.addEventListener("hydration:appReady",(function(){rn=!0}),{capture:!0,once:!0,passive:!0}),v=null,window.addEventListener("scroll",(function(e){!0===rn&&(v&&clearTimeout(v),v=setTimeout(f,100))})));h={props:{on:[],onClick:Boolean,onHover:Boolean,appReady:Boolean,onInteraction:Boolean,whenVisible:Boolean,whenVisibleAd:Boolean,ssrOnly:Boolean,force:Boolean},data:function(){return{hydrated:!Zt||void 0!==Object({NODE_ENV:"production",VUE_ENV:"client"}).TEST}},created:function(){if(this.ssrOnly)return!1;this.whenVisible||this.force||this.onClick||this.onHover||this.whenVisibleAd||(this.whenVisible=!0)},mounted:function(){var e=this,t=this.$el;if(t.nodeType===Node.ELEMENT_NODE){var n=(Array.isArray(this.on)?this.on:[this.on]).slice().filter((function(e){return"string"!=typeof e}));if(this.whenVisible||this.whenVisibleAd){n.push("hydration:visible");var a=this.whenVisibleAd?tn:en;try{a.observe(t)}catch(t){}this.visible=function(){a&&a.unobserve(t)}}this.onClick&&n.push("click"),this.onHover&&n.push("mouseenter"),this.appReady&&(!1===rn?document.addEventListener("hydration:appReady",this.hydrate,{capture:!0,once:!0,passive:!0}):this.hydrate()),n.length&&(n.forEach((function(t){return e.$el.addEventListener(t,e.hydrate,{capture:!0,once:!0,passive:!0})})),this.off=function(){document.removeEventListener("hydration:appReady",e.hydrate),n.forEach((function(t){return e.$el.removeEventListener(t,e.hydrate)}))})}},beforeDestroy:function(){this.cleanup()},methods:{cleanup:function(){for(var e=0,t=["visible","off"];e<t.length;e++){var n=t[e];n in this&&(this[n](),delete this[n])}},hydrate:function(){this.hydrated=!0,this.cleanup(),this.$emit("componentElementHydrated",this.$el)}},render:function(e){var t,n=this,a=(t=n.$scopedSlots.default?n.$scopedSlots.default({hydrated:n.hydrated}):n.$slots.default,Array.isArray(t)?t[0]:t);return void 0!==Object({NODE_ENV:"production",VUE_ENV:"client"}).TEST?a:((e=this.hydrated?a:e("div",Object(Qt.a)({},on))).asyncFactory=this.hydrated?nn:an,e.isComment=!this.hydrated,e)},watch:{force:{handler:function(e){e&&this.hydrate()},immediate:!0}}};var cn={AB:m,Accordion:b.a,Api:y.a,BackToTop:g.a,Backgrounds:O.a,BlackBar:_.a,BorderColor:w.a,BorderWidth:j.a,Brand:k.a,ButtonHome:C.a,CardAd:S.a,CardBrandList:T.a,CardBrandSpecial:A.a,CardCarnivalStrip:E.a,CardCarousel:L.a,CardColumn:I.a,CardCupHeaderLinks:x.a,CardCupScore:D.a,CardElections:$.a,CardElectionsItem:P.a,CardGroup:R.a,CardGroupVertical:N.a,CardHeadlineBottom:F.a,CardHeadlineMain:H.a,CardHeadlineMainFootball:M.a,CardHorizontalBlogs:U.a,CardHorizontalRow:B.a,CardHoroscope:q.a,CardLive:z.a,CardLiveGrid:G.a,CardPoll:V.a,CardPrime:W.a,CardProducts:J.a,CardProductsAd:Q.a,CardProductsEditorial:K.a,CardRow:Z.a,CardScoreCarnival:X.a,CardScoreFootball:Y.a,CardServices:ee.a,CardTeams:te.a,CardTeamsLogged:ne.a,CardTicket:ae.a,CardTopic:oe.a,CardVertical:re.a,CardVideo:ie.a,Carousel:ce.a,Colors:se.a,Comments:ue.a,Container:le.a,ElementArea:de.a,Email:he.a,ErrorHandler:pe.a,ErrorScreen:fe.a,ExchangeBar:ve.a,ExchangeBarHeader:me.a,ExchangeItem:be.a,FollowSocial:ye.a,FollowVideo:ge.a,Font:Oe.a,FontSize:_e.a,FontWeight:we.a,Footer:je.a,Gatekeeper:ke.a,GuidelineBase:Ce.a,HeaderCard:Se.a,HeaderCardNewsletter:Te.a,HeaderDesktop:Ae.a,HeaderMobile:Ee.a,HeaderScore:Le.a,HeaderSection:Ie.a,HeadlineAd:xe.a,HeadlineBigPhoto:De.a,HeadlineHorizontal:$e.a,HeadlineHorizontalAd:Pe.a,HeadlineHorizontalAvatar:Re.a,HeadlineHorizontalBrand:Ne.a,HeadlineHorizontalLive:Fe.a,HeadlineHorizontalNewsletter:He.a,HeadlineHorizontalSchedule:Me.a,HeadlineHorizontalSmall:Ue.a,HeadlineList:Be.a,HeadlineMain:qe.a,HeadlinePhoto:ze.a,HeadlinePhotoAd:Ge.a,HeadlinePhotoBrand:Ve.a,HeadlineStandard:We.a,HeadlineSub:Je.a,HeadlineSubLive:Qe.a,Home:Ke.a,Icon:Ze.a,LetterSpacing:Xe.a,LineHeight:Ye.a,LivePlayer:et.a,LoadTest:tt.a,LoginGate:nt.a,Lottery:at.a,Manifest:ot.a,Media:rt.a,MediaQuery:it.a,MenuDesktop:ct.a,MenuMobile:st.a,MostRead:ut.a,Noop:lt.a,OfferAd:dt.a,Opacity:ht.a,OrderSections:pt.a,Page:ft.a,PhotoCredit:vt.a,Photograph:mt.a,ProgressIndicator:bt.a,PublisherPreview:yt.a,Radius:gt.a,RelatedList:Ot.a,ReportErrorForm:_t.a,ReportSecurityErrorForm:wt.a,Ribbon:jt.a,ScreenOverlay:kt.a,SearchHeader:Ct.a,Section:St.a,SectionGrid:Tt.a,Shadow:At.a,ShowcaseColumns:Et.a,ShowcaseDefault:Lt.a,ShowcaseItens:It.a,ShowcaseProduct:xt.a,Sizing:Dt.a,Slider:$t.a,Spacing:Pt.a,Suggest:Rt.a,SvgIcon:Nt.a,TeamBadge:Ft.a,TextColor:Ht.a,Time:Mt.a,TitleAd:Ut.a,TitleBrand:Bt.a,Touch:qt.a,Uolicons:zt.a,UserProfile:Gt.a,VideoPlayer:Vt.a,WeatherBar:Wt.a,WhatWasHighlight:Jt.a,WidgetCupScore:t.a,WidgetScoreFootball:l.a,Xml:s.a,XmlFeedRss:u.a,XmlOfferProduct:d.a,ZIndex:p.a,Hydrate:h},sn=n(27),un=n(53),ln=n(26),dn=n(10),hn=(Pt=n(6),n.n(Pt)),pn=(n(85),n(18),n(28),n(30),n(820),n(50),n(89)),fn=(Rt=n(47),n.n(Rt));a.a.use(pn.a);var vn=Object.values(cn).filter((function(e){return!0===e.removeInApp})).map((function(e){return(e.sealedOptions||{}).name})),mn=function(e,t,n){return new Promise(function(){var a=Object(dn.a)(hn.a.mark((function a(o,r){var i,c,s,u;return hn.a.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:i=t.$options.name,c=setTimeout((function(){o({error:new Error('The execution of component "'.concat(i,'" was interrupted by timeout after the "').concat(15,' seconds" timeout was reached.'))})}),15e3),s=fn()(!0,t._data.default||{},((t._data.config||{}).components||{})[i]||{}),t._data.config.rm_require="uolnoticias"===t.tools.request.getParams("uol_app")?Object(ln.a)(new Set(Object(ln.a)(vn).concat(t._data.config.rm_require||[]))):t._data.config.rm_require||[],u=t._data.config.rm_require,t.data=fn()(!0,t.data||{},s);try{e((function(e){function a(e){var n=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return t.$options.render=function(){return null},n&&e&&(e.message='Component "'.concat(i,'" had its execution aborted by "dispatch". Reason: "').concat(e.message,'"')),(n=t.tools.log.error)instanceof Function&&e&&n({component:i,error:e}),!0===t.$options.propsData.__initiator__?r(e):o()}if(clearTimeout(c),e=e||{},t._data.config.allowedToGetState||(t._data.config.allowedToGetState=[]),0<Object.keys(e).length&&(t._data.config.allowedToGetState.includes(i)||t._data.config.allowedToGetState.push(i)),e instanceof Error)return a(e,!0);var l,d=[];for(l in(t._data.config||{}).components||{}){var h=t._data.config.components[l];Array.isArray(h.rm_require)&&h.rm_require.includes(i)&&d.push(l)}var p=[];!function e(t){t.$options.name&&p.push(t.$options.name),t.$parent&&e(t.$parent)}(t.$parent);for(var f=!1,v=0,m=p;v<m.length;v++){var b=m[v];d.includes(b)&&(f=!0)}if(u.includes(i)||!0===f)return t.$options.render=function(){return null},["beforeCreate","created","mounted"].forEach((function(e){return t.$options[e]=[]})),t.$store.dispatch("setComponentWithServerError",{id:t.getId()}),a(new Error("Component rejected by rm_require"));var y,g=[],O=Object(Kt.a)((t.__created__hook||[]).slice(1));try{for(O.s();!(y=O.n()).done;)!function(){var e=y.value;g.push(new Promise((function(n,a){try{e.apply(t),n(void 0)}catch(n){a(n)}})))}()}catch(l){O.e(l)}finally{O.f()}Promise.all(g).then((function(){var a=t.__state_alias__||t._data.__state_alias__||t.$options.__id__,r=fn()(!0,s,e);n("setDispatchData",{id:a,item:r}),t.$store.state.__general__.config||n("setConfig",(t._data||{}).config||{}),t.data=t.$store.state.items[a]||null,o(r)})).catch((function(e){return a(e)}))}))}catch(a){clearTimeout(c),r(a)}case 8:case"end":return a.stop()}}),a)})));return function(e,t){return a.apply(this,arguments)}}())};n(135),n(57),n(14),n(52);var bn=function e(){Object(o.a)(this,e)},yn="both",gn="front",On="back",_n=(Ft=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).scope=yn,e}return n}(Nt=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).tools=new bn,e}return n}(bn)),Ht=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).scope=gn,e}return Object(r.a)(n,[{key:"inApp",value:function(){return/uol_app=uolnoticias/.test(window.location.search)}}]),n}(Nt),Mt=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).scope=On,e}return n}(Nt),Ut=n(90),n.n(Ut));
/*!
 * VUELAND - AbTool Tool
 * 2020 fjsilva <fjsilva@uolinc.com>
 */Bt=n(411);_n.a.extend(n.n(Bt).a);var wn,jn=n(58),kn=(qt=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).chosen="default",e}return Object(r.a)(n,[{key:"mount",value:function(e){var t=this,n=["testName","endTime","domain","path","draw","tag","use","sample","pick","slots","data"];function a(){if(t.sample instanceof Function)try{t.sample(t.chosen)}catch(e){console.error(e)}}return fn()(!0,this,Object.keys(e).filter((function(e){return n.includes(e)})).reduce((function(t,n){return t[n]=e[n],t}),{})),this.isValidTime()?this.use?(this.chosen=this.use,a(),this.use):(this.checkCookieIntegrity(),this.chosen=this.getCandidate(),a(),this.chosen):"default"}},{key:"isValidTime",value:function(){function e(){jn.remove(t.cookieName)}var t=this;if(!(a=_n()(this.endTime,"YYYY-MM-DD HH[:]mm")).isValid())return console.error('Invalid test date: "'.concat(this.testName,'"')),e(),!1;var n=_n.a.duration(a.diff(_n()(new Date))),a=n.asHours();return this.expires=n.asDays(),0<=a||(console.warn('[VUELAND-AB] TestAB "'.concat(this.testName,'" has expired!')),e(),!1)}},{key:"checkCookieIntegrity",value:function(){var e=(n=this.parseCookieValue()).expires,t=n.domain,n=n.path;(e&&e!==this.endTime||t&&t!==this.domain&&t!=this.data.domain||n&&n!=this.path&&n!=this.data.path)&&jn.remove(this.cookieName)}},{key:"getCandidate",value:function(){var e=this.parseCookieValue().value;return e&&this.slots.includes(e)?e:this.runPick()}},{key:"cookieName",get:function(){return"vueland-ab-".concat(this.testName)}},{key:"runPick",value:function(){var e=this.firePick(this.slots,this.draw);if(this.mountCookie(e),this.pick instanceof Function)try{this.pick(e)}catch(e){console.error(e)}return e}},{key:"firePick",value:function(e){for(var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=e,a=[],o=0,r=0;r<n.length;r++){var i=n[r],c=t[i];c&&(a.push([i,o+c]),o+=c)}if(o)for(var s=Math.floor(Math.random()*o),u=0;u<a.length;u++)if(a[u][1]>s)return a[u][0];return n[Math.floor(Math.random()*n.length)]}},{key:"mountCookie",value:function(e){var t=this.domain||this.data.domain,n=this.path||this.data.path,a=this.endTime;n="".concat(e,"|").concat(t,"|").concat(n,"|").concat(a),a={expires:this.expires?+this.expires:7};return this.path&&(a.path=this.path),jn.set(this.cookieName,n,a),this.parseCookieValue()}},{key:"parseCookieValue",value:function(){var e=jn.get(this.cookieName),t=(e||"").split("|");return{value:(t=Object(sn.a)(t,4))[0],domain:t[1],path:t[2],expires:t[3],raw:e}}}]),n}(Ht),zt=(n(131),function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).prefixName="_grandabc",e}return Object(r.a)(n,[{key:"getAbTest",value:function(e){var t=this;return new Promise((function(n){t.timeout=setTimeout((function(){n("n")}),3e3),window._uolabtestsev&&window._uolabtestsev.push((function(){var a=e.startsWith(t.prefixName)?e:"".concat(t.prefixName).concat(e);a=window._uolabtest(a)||"n";clearTimeout(t.timeout),n(a)})),n("n")}))}}]),n}(Ht)),Gt=function(e){Object(i.a)(a,e);var t,n=Object(c.a)(a);function a(){return Object(o.a)(this,a),n.apply(this,arguments)}return Object(r.a)(a,[{key:"secureXSSCallback",value:function(e){return e.replace(/[^a-z0-9_\-\/.]+/gi,"").replace(/eval|Function/g,"")}},{key:"jsonp",value:(t=Object(dn.a)(hn.a.mark((function e(t,n,a){var o=this;return hn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise((function(e,r){var i=n,c="jsonp_callback_".concat(a),s=document.createElement("script");s.src="".concat(t+(0<=t.indexOf("?")?"&":"?")+i,"=").concat(o.secureXSSCallback(c)),s.onerror=r,document.body.appendChild(s);var u=window.setTimeout((function(){window[c]=function(){console.debug("Response of ".concat(c," returned after timeout"))},r()}),15e3);window[c]=function(t){window.clearTimeout(u),e(t),delete window[c],document.body.removeChild(s)}})));case 1:case"end":return e.stop()}}),e)}))),function(e,n,a){return t.apply(this,arguments)})},{key:"handlerObject",value:function(e,t,n,a){var o={code:e};return{200:!1,201:!1,400:!0,401:!0,404:!0,500:!0}[e]&&(o.error=!0),t&&(o.data=t),n&&(t="string"==typeof n?[{message:n}]:[],Array.isArray(n)&&(t=n.map((function(t){var n=t;return t.code&&""!==t.code||(n.code=e),t}))),o.messages=t),a instanceof Function?a(o):o}}]),a}(Ht),Vt=(n(38),function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).blocklist=new Set,e}return Object(r.a)(n,[{key:"getLinks",value:function(e){var t=this;document.querySelectorAll(e||".hyperlink").forEach((function(e){t.blocklist.add(e.getAttribute("href")||"")}))}},{key:"filterHeadlines",value:function(e){var t=this;return e.filter((function(e){return!t.blocklist.has(e.link)}))}}]),n}(Ht)),n(66),n(32),new Map),Cn=new(Wt=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"getSingle",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];return!0===kn.has(e)&&!1===t||window.location.search.substr(1).split("&").map((function(e){return e.split("=").map((function(e){return decodeURIComponent(e)}))})).forEach((function(e){e=(t=Object(sn.a)(e,2))[0];var t=t[1];return kn.set(e,t)})),kn.get(e)}}]),n}(Ht)),Sn=(Jt=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).container=document.querySelector("head"),e}return Object(r.a)(n,[{key:"getLastChartBeatTest",value:function(e){return e.length?e.reduce((function(e,t){return t.imageTest?t.key:e}),""):[]}},{key:"load",value:function(){var e;new RegExp("preview").test(null===(e=null===(e=this.config)||void 0===e?void 0:e.__req__)||void 0===e?void 0:e.link)||(this.setCbConfig(),this.setHeadLink(),this.loadConfig())}},{key:"setCbConfig",value:function(){window._sf_async_config=window._sf_async_config||{},Object.assign(window._sf_async_config,{uid:61085,domain:this.getDomain(),flickerControl:!1,useCanonical:!0,articleBlockSelector:"article"}),window._sf_startpt=(new Date).getTime()}},{key:"getDomain",value:function(){return Cn.getSingle("chartbeatTest")?"test.uol.com.br":"uol.com.br"}},{key:"setHeadLink",value:function(){var e=document.createElement("script");e.src="//static.chartbeat.com/js/chartbeat_mab_image.js",e.async=!0,this.insertScript(e)}},{key:"loadConfig",value:function(){window._sf_async_config=window._sf_async_config||{},window._sf_async_config.sections="Total UOL Conteúdo,UOL - Home",window._sf_async_config.authors="UOL",window._sf_async_config.autoDetect=!1;var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src="//static.chartbeat.com/js/chartbeat_video.js",this.insertScript(e),window._cbv=window._cbv||(window._cbv=[])}},{key:"insertScript",value:function(e){null!==this.container?this.container.appendChild(e):console.error("ChartbeatLoaderTool: failed to insert chartbeat script: container is null")}}]),n}(Ht),t=n(58),n.n(t)),Tn=(l=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"getCookie",value:function(e){return Sn.a.get(e)||""}},{key:"getAllCookies",value:function(){return Sn.a.get()}},{key:"setCookie",value:function(e,t,n){Sn.a.set(e,t,n)}},{key:"removeCookie",value:function(e){Sn.a.remove(e)}}]),n}(Ht),s=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),e=t.call(this),window.location.search.includes("debug")?e.isDebug=!0:e.isDebug=!1,e}return Object(r.a)(n,[{key:"runOnDebugMode",value:function(e){this.isDebug&&e()}},{key:"logMessage",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.runOnDebugMode((function(){var e;(e=console).log.apply(e,t)}))}},{key:"logError",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.runOnDebugMode((function(){var e;(e=console).error.apply(e,t)}))}}]),n}(Ht),new Gt),An=(u=function(e){Object(i.a)(l,e);var t,n,a,s,u=Object(c.a)(l);function l(){var e;return Object(o.a)(this,l),(e=u.apply(this,arguments)).API_URL="https://geoip.home.uol.com/index.jsonp",e.COOKIE_NAME="geoloc",e.STATES_CODES={"01":"AC","02":"AL","03":"AP","04":"AM","05":"BA","06":"CE","07":"DF","08":"ES",11:"MS",13:"MA",14:"MT",15:"MG",16:"PA",17:"PB",18:"PR",20:"PI",21:"RJ",22:"RN",23:"RS",24:"RO",25:"RR",26:"SC",27:"SP",28:"SE",29:"GO",30:"PE",31:"TO"},e.CODES_STATES={AC:"01",AL:"02",AP:"03",AM:"04",BA:"05",CE:"06",DF:"07",ES:"08",MS:"11",MA:"13",MT:"14",MG:"15",PA:"16",PB:"17",PR:"18",PI:"20",RJ:"21",RN:"22",RS:"23",RO:"24",RR:"25",SC:"26",SP:"27",SE:"28",GO:"29",PE:"30",TO:"31"},e.USER_DEFINITION=1,e.API_DEFINITION=2,e.API_FALLBACK_DEFINITION=3,e.DEFAULT_LOCATION=["SA","BR","27","São Paulo"],e.defaultCokie="",e.geoLocation={},e}return Object(r.a)(l,[{key:"normalize",value:function(e){return{continent:e[0],country:e[1],state:e[4],city:e[3]}}},{key:"register",value:function(e,t){var n;e=e;switch(t){case this.USER_DEFINITION:n=365;break;case this.API_FALLBACK_DEFINITION:n=1;break;case this.API_DEFINITION:default:n=5}(e=""===(e="BR"!==(e=e instanceof Array==0?[]:e)[1]?this.DEFAULT_LOCATION:e)[2]||""===e[3]?this.DEFAULT_LOCATION:e).push(this.STATES_CODES[e[2]]),this.geoLocation=this.normalize(e),t={expires:n,domain:".uol.com.br"},this.setCookie(this.COOKIE_NAME,e.join(","),t)}},{key:"getCookie",value:function(e){var t=new RegExp("".concat(e,"="),"g");e=new RegExp(".*?".concat(e,"=(.*?)(;.*?$|$)"),"g");return document.cookie.match(t)?(e=document.cookie.replace(e,"$1"),unescape(e)):null}},{key:"setCookie",value:function(e,t,n){var a=escape(t);t=new Date;n.expires&&t.setDate(t.getDate()+n.expires),n={expires:n.expires?"; expires=".concat(t.toUTCString()):"",domain:n.domain?"domain=".concat(n.domain):""},document.cookie="".concat(e,"=").concat(a).concat(n.expires,"; path=/; ").concat(n.domain,"; SameSite='Strict'")}},{key:"removeCookie",value:function(e){Sn.a.remove(e)}},{key:"apiCallback",value:function(e){this.register(e,this.API_DEFINITION)}},{key:"fallback",value:function(){this.register(this.DEFAULT_LOCATION,this.API_FALLBACK_DEFINITION)}},{key:"invalidPathError",value:function(e){throw new Error(e)}},{key:"jsonp",value:(s=Object(dn.a)(hn.a.mark((function e(){var t;return hn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Tn.jsonp(this.API_URL,"callback","geoloc");case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e,this)}))),function(){return s.apply(this,arguments)})},{key:"requestGeoCod",value:(a=Object(dn.a)(hn.a.mark((function e(){var t,n,a=this;return hn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=function(e){return e&&"object"===Object(un.a)(e)?(a.apiCallback(e),e):{}},n=function(){return a.fallback(),a.getCookie("geoloc")},e.next=4,this.jsonp().then(t).catch(n);case 4:return n=e.sent,e.abrupt("return",n);case 6:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"change",value:function(e,t){return!(!e||!t)&&(e=e.toUpperCase(),this.register(["SA","BR",this.CODES_STATES[e],t],this.USER_DEFINITION),!0)}},{key:"getNewGeoCod",value:(n=Object(dn.a)(hn.a.mark((function e(){var t;return hn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.requestGeoCod();case 3:return t=e.sent,e.abrupt("return",t);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",e.t0);case 10:case"end":return e.stop()}}),e,this,[[0,7]])}))),function(){return n.apply(this,arguments)})},{key:"init",value:(t=Object(dn.a)(hn.a.mark((function e(){var t=this;return hn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getCookie("geoloc");case 2:return this.defaultCokie=e.sent,e.abrupt("return",new Promise((function(e,n){function a(){t.geoLocation||n(),e(t.geoLocation)}function o(e){n(e)}""===t.defaultCokie?t.requestGeoCod().then(a).catch(o):("string"==typeof t.defaultCokie&&(t.geoLocation=t.normalize(unescape(t.defaultCokie).split(","))),t.geoLocation.city?a():t.requestGeoCod().then(a).catch(o))})));case 4:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}]),l}(Ht),d=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"hasWebp",value:function(e){return/_\d+x\d+\.(jpg|jpeg|png)/.test(e)}},{key:"getWebpSrc",value:function(e){var t=e,n="";return!t.includes("?")||null!=(e=/^(.*)\?(.*)$/.exec(e))&&e.length&&(t=e[1],n=e[2]?"?".concat(e[2]):""),{src:"".concat(t,".webp").concat(n),type:"image/webp"}}}]),n}(Ft),p=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"createItem",value:function(e,t){localStorage.setItem(e,t)}},{key:"readValue",value:function(e){return localStorage.getItem(e)||""}},{key:"removeItem",value:function(e){localStorage.removeItem(e)}}]),n}(Ht),h=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.call(this)).isDebug=!1,window.location.search.includes("debugGA")&&(e.isDebug=!0),e}return Object(r.a)(n,[{key:"send",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"click",n=Object(Qt.a)({},e);null!==(e=null===(e=window.universal_variable)||void 0===e?void 0:e.aud)&&void 0!==e&&e.userFidelity&&(n.userFidelity=window.universal_variable.aud.userFidelity),this.isDebug&&console.table(n),window.uolAnalytics&&window.uolAnalytics(t,n)}},{key:"interaction",value:function(e,t){(e=Object(Qt.a)({},e)).label=e.label||"content",e.action="interaction-".concat(t),this.send(e)}}]),n}(Ht),function(){function e(){Object(o.a)(this,e),this.counter={}}return Object(r.a)(e,[{key:"count",value:function(e){return this.counter[e]?(this.counter[e]+=1,this.counter[e]):this.counter[e]=1}},{key:"counterData",get:function(){return Object(Qt.a)({},this.counter)}}]),e}()),En=(Pt=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"getNewCounter",value:function(){return new An}}]),n}(Ft),Rt=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).className="",e.refreshModuleName="OverlayTool",e}return Object(r.a)(n,[{key:"toogleClass",get:function(){return this.className}},{key:"setOverlay",value:function(e){!e&&this.hideFunction?(this.hideFunction(),window.refresh.start(this.refreshModuleName)):this.showFunction&&(this.showFunction(),window.refresh.pause(this.refreshModuleName))}},{key:"setOverlayClass",value:function(e){this.className=e}},{key:"onOverlayShow",value:function(e){this.showFunction=e}},{key:"onOverlayHide",value:function(e){this.hideFunction=e}}]),n}(Ht),n(54)),Ln=(Nt=(n(56),n(59),n(71),function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e,a;return Object(o.a)(this,n),(e=t.call(this)).timeToReload=window.TIME_TO_RELOAD?Number(window.TIME_TO_RELOAD):4.1667*60*1e3,e.startTime=0,e.pausedQueue=[],e.lastUpdate=new Date,!0===e.inApp()&&(e.timeToReload=6e5),window.location.search.includes("timeToReload")&&(a=new URLSearchParams(window.location.search),e.timeToReload=Number(a.getAll("timeToReload"))),window.TIME_TO_RELOAD=e.timeToReload,window.refresh={start:e.start.bind(Object(En.a)(e)),pause:e.pause.bind(Object(En.a)(e)),isPaused:e.isPaused.bind(Object(En.a)(e)),setLastUpdate:e.setLastUpdate.bind(Object(En.a)(e)),getLastUpdate:e.getLastUpdate.bind(Object(En.a)(e)),doUpdated:e.doUpdated.bind(Object(En.a)(e)),reload:e.reload.bind(Object(En.a)(e))},window.addEventListener("load",(function(){e.start("home")})),e}return Object(r.a)(n,[{key:"setLastUpdate",value:function(e){this.lastUpdate=e}},{key:"getLastUpdate",value:function(){return this.lastUpdate}},{key:"hasStarted",value:function(){return void 0===this.Timer}},{key:"isPaused",value:function(){return!!this.pausedQueue.length}},{key:"getTimeToReload",value:function(){return this.timeToReload<1e4?1e4:this.timeToReload}},{key:"clearTimer",value:function(){this.Timer&&(clearTimeout(this.Timer),this.Timer=void 0)}},{key:"addToQueue",value:function(e){this.pausedQueue.includes(e)||this.pausedQueue.push(e)}},{key:"removeFromQueue",value:function(e){this.pausedQueue.includes(e)&&this.pausedQueue.splice(this.pausedQueue.indexOf(e),1)}},{key:"reload",value:function(){this.isPaused()||(window.navigator.userAgent.match(/msie|rv:/)?window.history.go(0):window.location.reload())}},{key:"doUpdated",value:function(){this.updateSections&&"function"==typeof this.updateSections&&this.updateSections(0<arguments.length&&void 0!==arguments[0]&&arguments[0])}},{key:"noop",value:function(){}},{key:"start",value:function(e){e&&(this.removeFromQueue(e),!this.isPaused()&&this.hasStarted()&&(this.startTime=Date.now(),this.timeToReload=this.getTimeToReload(),this.Timer=setTimeout(this.reload.bind(this),this.timeToReload)))}},{key:"pause",value:function(e){e&&(this.isPaused()||(this.timeToReload-=Date.now()-this.startTime),this.addToQueue(e),this.clearTimer())}}]),n}(Ht)),function(){function e(t){Object(o.a)(this,e),this.connection=t}return Object(r.a)(e,[{key:"onError",value:function(e){this.connection.on("error",e)}},{key:"onClose",value:function(e){this.connection.on("close",e)}},{key:"onMessage",value:function(e){this.connection.on("message",e)}},{key:"getData",value:function(){return this.connection.data()}},{key:"close",value:function(){this.connection.close()}}]),e}()),In=(Ut=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).socketConfig=null,e.distName="usocket",e}return Object(r.a)(n,[{key:"doConnection",value:function(e){return this.socketConfig&&window.usocket.config(this.socketConfig),new Ln(window.usocket.connect(e))}},{key:"connect",value:function(e){var t=this;return new Promise((function(n){window.usocket?n(t.doConnection(e)):document.addEventListener("distLoaded:usocket",(function(){n(t.doConnection(e))}))}))}}]),n}(Ft),Bt=(n(73),function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).alphabet=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],e.charMap={a:"A|Á|Ă|Ắ|Ặ|Ằ|Ẳ|Ẵ|Ǎ|Â|Ấ|Ậ|Ầ|Ẩ|Ẫ|Ä|Ǟ|Ȧ|Ǡ|Ạ|Ȁ|À|Ả|Ȃ|Ā|Ą|Å|Ǻ|Ḁ|Ⱥ|Ã|Ɐ|ᴀ|Α|Ά|А|á|ă|ắ|ặ|ằ|ẳ|ẵ|ǎ|â|ấ|ậ|ầ|ẩ|ẫ|ä|ǟ|ȧ|ǡ|ạ|ȁ|à|ả|ȃ|ā|ą|ᶏ|ẚ|å|ǻ|ḁ|ⱥ|ã|ɐ|ₐ|α|ά|а|ª",b:"B|Ḃ|Ḅ|Ɓ|Ḇ|Ƀ|Ƃ|ʙ|ᴃ|Β|Б|ḃ|ḅ|ɓ|ḇ|ᵬ|ᶀ|ƀ|ƃ|β|б",c:"C|Ć|Č|Ç|Ḉ|Ĉ|Ċ|Ƈ|Ȼ|Ꜿ|ᴄ|Ц|ć|č|ç|ḉ|ĉ|ɕ|ċ|ƈ|ȼ|ↄ|ꜿ|ц",d:"D|Ď|Ḑ|Ḓ|Ḋ|Ḍ|Ɗ|Ḏ|ǲ|ǅ|Đ|Ƌ|Ꝺ|ᴅ|Ð|Δ|Д|ď|ḑ|ḓ|ȡ|ḋ|ḍ|ɗ|ᶑ|ḏ|ᵭ|ᶁ|đ|ɖ|ƌ|ꝺ|ð|δ|д|∂",e:"E|É|Ĕ|Ě|Ȩ|Ḝ|Ê|Ế|Ệ|Ề|Ể|Ễ|Ḙ|Ë|Ė|Ẹ|Ȅ|È|Ẻ|Ȇ|Ē|Ḗ|Ḕ|Ɇ|Ẽ|Ḛ|Ɛ|Ǝ|ᴇ|ⱻ|Ε|Έ|Е|Э|Ę|é|ĕ|ě|ȩ|ḝ|ê|ế|ệ|ề|ể|ễ|ḙ|ë|ė|ẹ|ȅ|è|ẻ|ȇ|ē|ḗ|ḕ|ⱸ|ę|ᶒ|ɇ|ẽ|ḛ|ɛ|ᶓ|ɘ|ǝ|ₑ|ε|έ|е|э",f:"F|Ḟ|Ƒ|Ꝼ|ꜰ|Φ|Ф|ḟ|ƒ|ᵮ|ᶂ|ꝼ|φ|ф",g:"G|Ǵ|Ğ|Ǧ|Ģ|Ĝ|Ġ|Ɠ|Ḡ|Ǥ|Ᵹ|ɢ|ʛ|Γ|Г|Ґ|ǵ|ğ|ǧ|ģ|ĝ|ġ|ɠ|ḡ|ᶃ|ǥ|ᵹ|ɡ|ᵷ|γ|г|ґ",h:"H|Ḫ|Ȟ|Ḩ|Ĥ|Ⱨ|Ḧ|Ḣ|Ḥ|Ħ|ʜ|Η|Ή|Х|ḫ|ȟ|ḩ|ĥ|ⱨ|ḧ|ḣ|ḥ|ɦ|ẖ|ħ|ɥ|ʮ|ʯ|η|ή|х",i:"I|Í|Ĭ|Ǐ|Î|Ï|Ḯ|İ|Ị|Ȉ|Ì|Ỉ|Ȋ|Į|Ɨ|Ĩ|Ḭ|ɪ|Ι|Ί|Ϊ|И|І|Ī|ı|í|ĭ|ǐ|î|ï|ḯ|ị|ȉ|ì|ỉ|ȋ|ī|į|ᶖ|ɨ|ĩ|ḭ|ᴉ|ᵢ|ι|ί|ϊ|ΐ|и|і",j:"J|Ĵ|Ɉ|ᴊ|Й|ȷ|ɟ|ʄ|ǰ|ĵ|ʝ|ɉ|ⱼ|й",k:"K|Ḱ|Ǩ|Ⱪ|Ꝃ|Ḳ|Ƙ|Ḵ|Ꝁ|Ꝅ|ᴋ|Κ|К|Ķ|ḱ|ǩ|ķ|ⱪ|ꝃ|ḳ|ƙ|ḵ|ᶄ|ꝁ|ꝅ|ʞ|κ|к",l:"L|Ĺ|Ƚ|Ľ|Ļ|Ḽ|Ḷ|Ḹ|Ⱡ|Ꝉ|Ḻ|Ŀ|Ɫ|ǈ|Ł|Ꞁ|ʟ|ᴌ|Λ|Л|ĺ|ƚ|ɬ|ľ|ļ|ḽ|ȴ|ḷ|ḹ|ⱡ|ꝉ|ḻ|ŀ|ɫ|ᶅ|ɭ|ł|ꞁ|λ|л",m:"M|Ḿ|Ṁ|Ṃ|Ɱ|Ɯ|ᴍ|Μ|М|ḿ|ṁ|ṃ|ɱ|ᵯ|ᶆ|ɯ|ɰ|μ|м",n:"N|Ń|Ň|Ņ|Ṋ|Ṅ|Ṇ|Ǹ|Ɲ|Ṉ|Ƞ|ǋ|Ñ|ɴ|ᴎ|Ν|Н|ń|ň|ņ|ṋ|ȵ|ṅ|ṇ|ǹ|ɲ|ṉ|ƞ|ᵰ|ᶇ|ɳ|ñ|ν|н",o:"O|Ó|Ŏ|Ǒ|Ô|Ố|Ộ|Ồ|Ổ|Ỗ|Ö|Ȫ|Ȯ|Ȱ|Ọ|Ő|Ȍ|Ò|Ỏ|Ơ|Ớ|Ợ|Ờ|Ở|Ỡ|Ȏ|Ꝋ|Ꝍ|Ō|Ṓ|Ṑ|Ɵ|Ǫ|Ǭ|Ø|Ǿ|Õ|Ṍ|Ṏ|Ȭ|Ɔ|ᴏ|ᴐ|Ο|Ό|О|ɵ|ó|ŏ|ǒ|ô|ố|ộ|ồ|ổ|ỗ|ö|ȫ|ȯ|ȱ|ọ|ő|ȍ|ò|ỏ|ơ|ớ|ợ|ờ|ở|ỡ|ȏ|ꝋ|ꝍ|ⱺ|ō|ṓ|ṑ|ǫ|ǭ|ø|ǿ|õ|ṍ|ṏ|ȭ|ɔ|ᶗ|ᴑ|ᴓ|ₒ|ο|ό|о|˚|º",p:"P|Ṕ|Ṗ|Ꝓ|Ƥ|Ꝕ|Ᵽ|Ꝑ|ᴘ|Π|П|ṕ|ṗ|ꝓ|ƥ|ᵱ|ᶈ|ꝕ|ᵽ|ꝑ|π|п",q:"Q|Ꝙ|Ꝗ|ꝙ|ʠ|ɋ|ꝗ",r:"R|Ꞃ|Ŕ|Ř|Ŗ|Ṙ|Ṛ|Ṝ|Ȑ|Ȓ|Ṟ|Ɍ|Ɽ|ʁ|ʀ|ᴙ|ᴚ|Ρ|Р|ꞃ|ŕ|ř|ŗ|ṙ|ṛ|ṝ|ȑ|ɾ|ᵳ|ȓ|ṟ|ɼ|ᵲ|ᶉ|ɍ|ɽ|ɿ|ɹ|ɻ|ɺ|ⱹ|ᵣ|ρ|р",s:"S|Ꞅ|Ś|Ṥ|Š|Ṧ|Ş|Ŝ|Ș|Ṡ|Ṣ|Ṩ|ꜱ|Σ|С|ꞅ|ſ|ẜ|ẛ|ẝ|ś|ṥ|š|ṧ|ş|ŝ|ș|ṡ|ṣ|ṩ|ʂ|ᵴ|ᶊ|ȿ|σ|ς|с",t:"T|Ꞇ|Ť|Ţ|Ṱ|Ț|Ⱦ|Ṫ|Ṭ|Ƭ|Ṯ|Ʈ|Ŧ|ᴛ|Τ|Т|ꞇ|ť|ţ|ṱ|ț|ȶ|ẗ|ⱦ|ṫ|ṭ|ƭ|ṯ|ᵵ|ƫ|ʈ|ŧ|ʇ|τ|т",u:"U|Ú|Ŭ|Ǔ|Û|Ṷ|Ü|Ǘ|Ǚ|Ǜ|Ǖ|Ṳ|Ụ|Ű|Ȕ|Ù|Ủ|Ư|Ứ|Ự|Ừ|Ử|Ữ|Ȗ|Ṻ|Ų|Ů|Ũ|Ṹ|Ṵ|ᴜ|У|Ъ|Ū|ᴝ|ú|ŭ|ǔ|û|ṷ|ü|ǘ|ǚ|ǜ|ǖ|ṳ|ụ|ű|ȕ|ù|ủ|ư|ứ|ự|ừ|ử|ữ|ȗ|ū|ṻ|ų|ᶙ|ů|ũ|ṹ|ṵ|ᵤ|у|ъ",v:"V|Ʌ|Ꝟ|Ṿ|Ʋ|Ṽ|ᴠ|В|ʌ|ⱴ|ꝟ|ṿ|ʋ|ᶌ|ⱱ|ṽ|ᵥ|в",x:"X|Ẍ|Ẋ|Χ|ẍ|ẋ|ᶍ|ₓ|χ",w:"W|Ẃ|Ŵ|Ẅ|Ẇ|Ẉ|Ẁ|Ⱳ|ᴡ|Ω|Ώ|ʍ|ẃ|ŵ|ẅ|ẇ|ẉ|ẁ|ⱳ|ẘ|ω|ώ",y:"Y|Ý|Ŷ|Ÿ|Ẏ|Ỵ|Ỳ|Ƴ|Ỷ|Ỿ|Ȳ|Ɏ|Ỹ|ʏ|Υ|Ύ|Ϋ|Ы|ʎ|ý|ŷ|ÿ|ẏ|ỵ|ỳ|ƴ|ỷ|ỿ|ȳ|ẙ|ɏ|ỹ|υ|ύ|ΰ|ϋ|ы",z:"Z|Ź|Ž|Ẑ|Ⱬ|Ż|Ẓ|Ȥ|Ẕ|Ƶ|ᴢ|Ζ|З|ź|ž|ẑ|ʑ|ⱬ|ż|ẓ|ȥ|ẕ|ᵶ|ᶎ|ʐ|ƶ|ɀ|ζ|з","(c)":"©","(r)":"®",tm:"™",sm:"℠","~":"˜","...":"…",'"':"“|”","":"#|‘|’|'"},e}return Object(r.a)(n,[{key:"toSlug",value:function(e){var t,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"-";for(t in this.charMap)e=e.replace(new RegExp(this.charMap[t],"g"),t).trim();return e.replace(/\s+/g,n).replace(/-{2,}/g,n)}},{key:"toSlugPublicador",value:function(e){for(var t in this.charMap)e=e.replace(new RegExp(this.charMap[t],"g"),t);return e.replace(/[^a-z0-9 /&.+(-]+/g,"").replace(/\s+/g,"-").replace(/[&.+(]/g,"")}},{key:"parseMustache",value:function(e,t){for(;e.match(/\{\{\w+\}\}/);)e=e.replace(/\{\{(\w+)\}\}/,(function(e,n){return t[n]}));return e}},{key:"capFirstLetter",value:function(e){return e.split(" ").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()})).join(" ")}},{key:"limitChar",value:function(e,t,n,a){return(e=a?e.replace(/<\/?[a-z]?([^>]+)>?/g,""):e).substring(0,t||e.length).trim()+(e.length>t&&n?n:"")}},{key:"alfabetic",value:function(e,t){return t?this.alphabet:(e=(e||"").toLowerCase(),this.alphabet.includes(e)?e:"a")}},{key:"removeSymbols",value:function(e){return e.replace(/["#$&'()*+,-./:;[\\\]_`{|}~]/g,"")}},{key:"emailValidator",value:function(e){if(e){var t=e.split("@"),n=(t=Object(sn.a)(t,2))[0],a=t[1];if(n&&a&&n.length<=64&&a.length<=255&&a.split(".").some((function(e){return e.length<=63})))return/^[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~](\.?[-!#$%&'*+\/0-9=?A-Z^_a-z`{|}~])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$/.test(e)}return!1}}]),n}(Ft)),n(67)),xn=(t=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"getTokens",value:function(){var e;return{uol:In}[null===(e=this.config)||void 0===e?void 0:e.color]||{}}},{key:"getStationColor",value:function(e){var t=this.getTokens(),n="TOKEN_COLOR_".concat(e.replace("-","_").toUpperCase(),"_P_1");return t[t[n="esporte-p-2"===e?"TOKEN_COLOR_ESPORTE_P_2":n]?n:"TOKEN_COLOR_HOME_P_1"]}}]),n}(Ft),Mt=function(e){Object(i.a)(a,e);var t,n=Object(c.a)(a);function a(){var e;return Object(o.a)(this,a),(e=n.apply(this,arguments)).API_URL="https://search.uol.com.br/?format=jsonp",e.errorReturn={message:"Não foi possível acessar a api de cidades neste momento, tente mais tarde",code:500},e}return Object(r.a)(a,[{key:"normalize",value:function(e){var t=[];return e&&e.docs&&e.docs.forEach((function(e){e={normalized:e["municipio-normalizado"],name:e.municipio,uf:e.uf},t.push(e)})),t}},{key:"init",value:(t=Object(dn.a)(hn.a.mark((function e(t){var n,a,o=this;return hn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&2<=t.length)return a=this.API_URL,n=this.tools.custom.string.toSlug(t," ").replace(/ /g,"+AND+"),a="".concat(a,"&size=5&fields=municipio-normalizado,municipio,uf,id&repository=city&cd=").concat(n),e.next=6,this.tools.custom.apiHelpersFront.jsonp(a,"jsonp","citySuggest").then((function(e){return o.tools.custom.apiHelpersFront.handlerObject(200,o.normalize(e),"Sucesso!")})).catch((function(e){return o.tools.custom.apiHelpersFront.handlerObject(o.errorReturn.code,e,o.errorReturn.message)}));e.next=8;break;case 6:return a=e.sent,e.abrupt("return",a);case 8:return e.abrupt("return",{});case 9:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),a}(Ht=function(e){Object(i.a)(n,e);var t=Object(c.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return n}(Ht)),Ht=function(e){Object(i.a)(d,e);var t,n,a,s,u,l=Object(c.a)(d);function d(){var e;return Object(o.a)(this,d),(e=l.apply(this,arguments)).API_URL="https://geoip.home.uol.com/states/",e.errorReturn={message:"Não foi possível acessar a api de cidades neste momento, tente mais tarde",code:500,error:!0},e.defaultCity={normalized:"saopaulo",name:"São Paulo",uf:"SP"},e}return Object(r.a)(d,[{key:"toSlug",value:function(e){return this.tools.custom.string.toSlug(e,"")}},{key:"GeolocFormat",value:function(e){return{normalized:this.toSlug(e.city),name:e.city,uf:e.state}}},{key:"getTitle",value:function(e){var t=e.replace("-n","");return t in(e={cc:"Céu claro",ch:"Chuvoso",tr:"Trovoadas",pi:"Pancadas isoladas",cv:"Chuvisco",nb:"Nublado",ge:"Geada",ne:"Neve",nv:"Névoa",en:"Encoberto",nc:"Nublado com chuva",pc:"Pancadas de chuva",pn:"Poucas nuvens"})?e[t]:""}},{key:"getIcon",value:function(e){return e&&e.label&&(e.label=this.activeIcon(e.label),e.status=this.getTitle(e.label)),e}},{key:"activeIcon",value:function(e){var t=e.toLowerCase();return t in(e={tr:"ch","tr-n":"ch-n"})?e[t]:t}},{key:"normalize",value:function(e){return{state:e[0],city:e[1],min:e[2],max:e[3],label:e[4],url:e[6]}}},{key:"setData",value:function(e){return e=this.normalize(e),this.getIcon(e)}},{key:"setParams",value:function(e){var t=e.uf,n=e.name;e=this.tools.custom.apiHelpersFront.secureXSSCallback;return"".concat(e(null==t?void 0:t.toLowerCase()),"/").concat(e(null==n?void 0:n.toLowerCase()))}},{key:"getGeoloc",value:(u=Object(dn.a)(hn.a.mark((function e(){var t;return hn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.tools.custom.geoLoc.init();case 2:return t=e.sent,e.abrupt("return",t);case 4:case"end":return e.stop()}}),e,this)}))),function(){return u.apply(this,arguments)})},{key:"jsonp",value:(s=Object(dn.a)(hn.a.mark((function e(t){var n;return hn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.setParams(t),n="".concat(this.API_URL).concat(n,".js"),e.next=4,this.tools.custom.apiHelpersFront.jsonp(n,"callback","weather");case 4:return n=e.sent,e.abrupt("return",n);case 6:case"end":return e.stop()}}),e,this)}))),function(e){return s.apply(this,arguments)})},{key:"getDataFromCity",value:(a=Object(dn.a)(hn.a.mark((function e(t){var n,a,o=this;return hn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=function(e){return o.setData(e)},a=function(){return o.errorReturn},e.next=4,this.jsonp(t).then(n).catch(a);case 4:return a=e.sent,e.abrupt("return",a);case 6:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"fetchLocationWeather",value:(n=Object(dn.a)(hn.a.mark((function e(t){var n=this;return hn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var e=Object(dn.a)(hn.a.mark((function e(a,o){var r,i;return hn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.defaultCity,t&&n.tools.custom.geoLoc.change(t.uf,t.name),e.next=4,n.getGeoloc();case 4:return(i=e.sent)&&"object"===Object(un.a)(i)&&(r=n.GeolocFormat(i)),e.next=8,n.getDataFromCity({name:r.normalized,uf:r.uf.toUpperCase()});case 8:(i=e.sent).error&&o(new Error(i.message)),a(i);case 11:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()));case 1:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})},{key:"getWeather",value:(t=Object(dn.a)(hn.a.mark((function e(t){var n,a=this;return hn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=function(){return a.fetchLocationWeather(a.defaultCity)},e.abrupt("return",this.fetchLocationWeather(t).then((function(e){return e})).catch(n));case 2:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),d}(Ht),{ab:new qt,abtest:new zt,apiHelpersFront:new Gt,blocklist:new Vt,chartbeatLoader:new Jt,cookie:new l,debug:new s,geoLoc:new u,getParameter:new Wt,images:new d,localStorage:new p,metrics:new h,moduleCounter:new Pt,overlayToggle:new Rt,refresh:new Nt,socket:new Ut,string:new Bt,style:new t}),Dn={suggestCity:new Mt,weather:new Ht},$n=n(412),Pn=n(413),Rn={},Nn={styled:{},tokens:[]};function Fn(e,t){return Object(Pn.a)(e,Nn)(wn=wn||Object($n.a)(["",""]),(function(e){return n=e.styled||{},a=e.tokens||[],o="",e=[],Array.isArray(t)&&(e=e.concat(t)),Array.isArray(a)&&(e=e.concat(a)),(e=Object(ln.a)(new Set(e))).filter((function(e){return Object.keys(Rn).includes(e)})).forEach((function(e){return o+="".concat(Rn[e],";")})),0<Object.keys(n).length&&(o+=Object.keys(n).map((function(e){return"".concat(e,": ").concat(n[e])})).join(";")+";"),o;var n,a,o}))}function Hn(e){function t(e,t){return void 0!==e?e:t}return{shouldRetryOnError:t(e.shouldRetryOnError,!0),revalidateOnFocus:t(e.revalidateOnFocus,!0),revalidateOnReconnect:t(e.revalidateOnReconnect,!0),errorRetryCount:e.errorRetryCount||3,errorRetryInterval:e.errorRetryInterval||3e3,loadingTimeout:e.loadingTimeout||3e3,cacheTTL:e.cacheTTL||0,useLocalStorageAsCache:t(e.useLocalStorageAsCache,!1),onLoadingSlow:e.onLoadingSlow,onOffline:e.onOffline,attachToProp:e.attachToProp,attachToState:e.attachToState,deduping:e.deduping,store:e.store,instance:e.instance}}function Mn(e){return btoa(JSON.stringify(e))}function Un(e){return JSON.parse(atob(e))}function Bn(e){var t=localStorage.getItem(Jn);t&&e(t)}function qn(e,t){return e.localeCompare(t)}var zn=n(75),Gn=function(){function e(){Object(o.a)(this,e),this.events={}}return Object(r.a)(e,[{key:"on",value:function(e,t){var n=this;return"object"!==Object(un.a)(this.events[e])&&(this.events[e]=[]),this.events[e].push(t),function(){return n.removeListener(e,t)}}},{key:"removeListener",value:function(e,t){"object"!==Object(un.a)(this.events[e])||-1<(t=this.events[e].indexOf(t))&&this.events[e].splice(t,1)}},{key:"removeAllListeners",value:function(){var e=this;Object.keys(this.events).forEach((function(t){return e.events[t].splice(0,e.events[t].length)}))}},{key:"emit",value:function(e){for(var t=this,n=arguments.length,a=new Array(1<n?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];"object"===Object(un.a)(this.events[e])&&Object(ln.a)(this.events[e]).forEach((function(e){return e.apply(t,a)}))}},{key:"once",value:function(e,t){var n=this,a=this.on(e,(function(){a();for(var e=arguments.length,o=new Array(e),r=0;r<e;r++)o[r]=arguments[r];t.apply(n,o)}));return a}}]),e}(),Vn={},Wn={},Jn="vrw",Qn=function(){var e=Object(dn.a)(hn.a.mark((function e(t,n,a,o){var r,i,c,s,u,l,d,h,p;return hn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r="".concat(n,"_").concat(t),d=(d=ea(r,a.useLocalStorageAsCache)||{}).data,!Xn()||0<a.cacheTTL&&d)return e.abrupt("return",Promise.resolve({data:d,error:d?null:new Error("Network Error. ".concat(t))}));e.next=4;break;case 4:if(!1===a.deduping){e.next=10;break}if("pending"===(i=Vn[r]||{}).status)return i.refresh(),e.abrupt("return",new Promise((function(e){return i.on((function(t){a.cb instanceof Function&&a.cb(),e(t)}))})));e.next=9;break;case 9:Vn[r]=Zn(r,{expireTimeout:a.loadingTimeout});case 10:return u=!(s=c=null),clearTimeout(Wn[t]),Wn[t]=setTimeout((function(){u&&a.onLoadingSlow instanceof Function&&a.onLoadingSlow(),l()}),a.loadingTimeout),l=function(){u=!1,clearTimeout(Wn[t]),delete Wn[t]},e.prev=15,d=Object(Qt.a)({method:n},o),e.next=19,window.fetch(t,d);case 19:return h=e.sent,e.next=22,h.json();case 22:if(c=e.sent,h.ok){e.next=25;break}throw new Error("Request url ".concat(t," ends not ok"));case 25:a.store.dispatch("setCache",{id:t,data:c,method:n}),ta(r,c,a.cacheTTL,a.useLocalStorageAsCache),a.cb instanceof Function&&a.cb(),l(),Vn[r]&&Vn[r].emit({data:c,error:s}),e.next=47;break;case 32:if(e.prev=32,e.t0=e.catch(15),s=e.t0,a.skipRetry||!a.shouldRetryOnError){e.next=47;break}p=0;case 37:if(p<a.errorRetryCount)return e.next=40,new Promise((function(e){return window.setTimeout(Object(dn.a)(hn.a.mark((function r(){var i;return hn.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Qn(t,n,Object(Qt.a)(Object(Qt.a)({},a),{},{skipRetry:!0}),o);case 2:i=r.sent,c=i.data,s=i.error,e();case 6:case"end":return r.stop()}}),r)}))),a.errorRetryInterval||3e3)}));e.next=47;break;case 40:if(c&&!s)return l(),e.abrupt("break",47);e.next=43;break;case 43:case 44:p++,e.next=37;break;case 47:return e.abrupt("return",Promise.resolve({data:c,error:s}));case 48:case"end":return e.stop()}}),e,null,[[15,32]])})));return function(t,n,a,o){return e.apply(this,arguments)}}(),Kn=function(){var e=Object(dn.a)(hn.a.mark((function e(t,n){var a,o,r,i,c,s,u=arguments;return hn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=2<u.length&&void 0!==u[2]?u[2]:{},o=3<u.length?u[3]:void 0,a=Hn(a),c={isAttached:"string"==typeof(l=a).attachToProp||"string"==typeof(l.attachToState||{}).id},s=c.isAttached,r=Object(Qt.a)({},a),c=(c=(i=function(){var e="".concat(n,"_").concat(t);return ea(e,a.useLocalStorageAsCache)||{data:a.store.state.__cache__.request[n][t]}||{}})()).data,ca(),s){e.next=10;break}return e.abrupt("return",Qn(t,n,r,o));case 10:if(r.cb=function(){var e,o,r=i().data;r&&(a.attachToProp?a.instance[a.attachToProp]=r:(e=(o=a.attachToState).map,(o=o.id)?a.store.dispatch("setDispatchData",{id:o,item:e instanceof Function?e(r):r}):console.error('You must enter an ID for using "attachToState". ['.concat(n,"] ").concat(t))))},!Xn()){e.next=18;break}if(!(0<Object.keys(c||{}).length)){e.next=16;break}Qn(t,n,r,o),e.next=18;break;case 16:return e.next=18,Qn(t,n,r,o);case 18:return s=function(){Xn()&&Qn(t,n,r,o),r.cb()},r.revalidateOnReconnect&&window.addEventListener("online",s,!1),r.onOffline instanceof Function&&window.addEventListener("offline",r.onOffline,!1),a.revalidateOnFocus&&window.addEventListener("focus",s,!1),r.cb(),e.abrupt("return",Promise.resolve({data:c}));case 24:case"end":return e.stop()}var l}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Zn=function(e){var t,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{expireTimeout:1e3},a=new Gn,o={status:"pending",on:function(e){return a.on("fetch",(function(t){e instanceof Function&&e(t)}))},emit:function(e){a.emit("fetch",e),o.status="ended",o.schedule()},schedule:function(){clearTimeout(t),t=window.setTimeout((function(){a.removeAllListeners(),delete Vn[e]}),n.expireTimeout)},refresh:function(){return o.schedule()}};return o},Xn=function(){return void 0===navigator.onLine||navigator.onLine},Yn=new Map,ea=function(e){return 1<arguments.length&&void 0!==arguments[1]&&arguments[1]?aa(e):Yn.get(e)},ta=function(e,t,n){var a=3<arguments.length&&void 0!==arguments[3]&&arguments[3],o=n||0,r={data:t,createdAt:n=Date.now(),expiresAt:o?n+o:1/0};a?oa(e,r):(o&&setTimeout((function(){var t=Date.now();r.expiresAt<=t&&na(e,a)}),o),Yn.set(e,r))},na=function(e){1<arguments.length&&void 0!==arguments[1]&&arguments[1]?ra(e):Yn.delete(e)},aa=function(e,t){var n=localStorage.getItem(Jn);if(n)return JSON.parse(atob(n))[e]},oa=function(e,t){var n={},a=localStorage.getItem(Jn);a?(n=Un(a))[e]=t:n=Object(zn.a)({},e,t),localStorage.setItem(Jn,Mn(n)),ia(e,n.expiresAt-Date.now())},ra=function(e){var t=localStorage.getItem(Jn);if(t)try{var n=Un(t);delete n[e],localStorage.setItem(Jn,Mn(n))}catch(e){}},ia=function e(t,n){return setTimeout((function(){return Bn((function(n){try{var a=Un(n),o=a[t].expiresAt;o<Date.now()?(delete a[t],localStorage.setItem(Jn,Mn(a))):e(t,o-Date.now())}catch(n){}}))}),n)},ca=function(){Bn((function(e){var t=Un(e);Object.keys(t).map((function(e){t[e].expiresAt<Date.now()?(delete t[e],localStorage.setItem(Jn,Mn(t))):ia(e,t[e].expiresAt-Date.now())}))}))},sa=(n(134),function e(t,n){var a;return Array.isArray(t)?t.map((function(t){return e(t,n)})):"[object Object]"===Object.prototype.toString.call(t)?(a={},Object.keys(t).sort(n||qn).forEach((function(o){a[o]=e(t[o],n)})),a):t}),ua=(Ht=n(414),n.n(Ht));function la(e,t){return{computed:{data:function(){var e=this.stateID||this.getId();return this.$store.state.items[e]||{}}},methods:{getId:function(){return this.__state_alias__||this.$options.__id__},updateComponentState:function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{override:!1,onupdate:!0};this.$store.state.items[e]||console.error(new Error("Component: ".concat(this.$options.name," / Invalid state ID (").concat(e,'). The available states are: "').concat(Object.keys(this.$store.state.items).join(", "),'"'))),t=n.override?t:fn()(!0,this.$store.state.items[e],t),this.$store.dispatch("updateStore",{id:e,content:t}),(e=this.getComponentState(e)).instance&&function(e){if(e&&e.onStateUpdate instanceof Function&&(n||{}).onupdate)try{e.onStateUpdate()}catch(e){}}(e.instance)},updateComponentStateSlot:function(e){var t=this;e.map((function(e){var n=e.id,a=e.content;e=e.override;return t.updateComponentState(n,a,{override:!!e,onupdate:!0})}))},getComponentState:function(e){var t=this.$store.state.items[e];return t||console.error(new Error("Component: ".concat(this.$options.name," / Invalid state ID (").concat(e,'). The available states are: "').concat(Object.keys(this.$store.state.items).join(", "),'"'))),t},getState:function(){var e=this.getId();return this.$store.state.items[e]||null},setState:function(e){var t;e&&(t=this.getId(),this.updateComponentState(t,e,{override:!1,onupdate:!1}))},checkAndLoadStyle:function(){var e=this.tools.custom.string.toSlug(this.$options.name,"-"),t=(o=this.$store.state.__general__.config).color,n=o.system.media.css,a=(r=window.__cssComponents__||{all:[],hash:new Map,inline:new Set}).all,o=r.hash,r=r.inline;(a||[]).includes(e)&&(r.has(e)||!0===(null===(a=a[e])||void 0===a?void 0:a.removeInApp)&&this.tools.custom.getParameter.getSingle("uol_app")||document.querySelector("link[v-style-load-after=".concat(e,"]"))||this.createLink("".concat(n,"/themes/").concat(t,"/").concat(e,".css"),{name:e,hash:o.get(e)}))},createLink:function(e){var t,n=(t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).name;(t=t.hash)&&(e+="&hash=".concat(t)),(t=document.createElement("link")).setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),t.setAttribute("href",e),t.setAttribute("crossorigin","anonymous"),n&&t.setAttribute("v-style-load-after",n),document.getElementsByTagName("head")[0].appendChild(t)}},beforeMount:function(){try{this.__created__hook[0].apply(this)}catch(e){console.error(e)}if(this.__mounted__hook){var e,t=Object(Kt.a)(this.__mounted__hook);try{for(t.s();!(e=t.n()).done;){var n=e.value;try{n.apply(this)}catch(e){console.error(e)}}}catch(e){t.e(e)}finally{t.f()}}this.checkAndLoadStyle();var a=this.__state_alias__||this.$options.__id__;this.$store.state.items[a]&&this.$store.dispatch("setDispatchData",{id:a,item:Object(Qt.a)({},this.$store.state.items[a])})},beforeCreate:function(){var t=this;return Object(dn.a)(hn.a.mark((function n(){var a,o,r,i,c,s,u,l,d,h,p;return hn.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:try{t.$options.__id__=t.$options.name+"::"+ua()(t.$options.name+JSON.stringify(sa(Object.keys(t.$options.propsData).filter((function(e){return!pa.includes(e)})).reduce((function(e,n){return e[n]=t.$options.propsData[n],e}),{}))))}catch(n){console.error(n)}-1<window.location.search.indexOf("debug=true")&&void 0===(null===(a=null===(a=window.__INITIAL_STATE__)||void 0===a?void 0:a.items)||void 0===a?void 0:a[t.$options.__id__])&&(c=JSON.stringify(sa(Object.keys(t.$options.propsData).filter((function(e){return!pa.includes(e)})).reduce((function(e,n){return e[n]=t.$options.propsData[n],e}),{}))),console.warn("[WARN STATE] Component state differs between client and server",t.$options.name,t.$options.__id__,c)),e&&(t.$options.name=Object.keys(t.$options.components)[0]),t.fetch=function(e,t){return{get:function(){var n=Object(dn.a)(hn.a.mark((function n(a){var o,r,i=arguments;return hn.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=1<i.length&&void 0!==i[1]?i[1]:{},r=2<i.length&&void 0!==i[2]?i[2]:{},n.next=4,Kn(a,"get",Object(Qt.a)(Object(Qt.a)({},o),{},{store:e,instance:t}),r);case 4:return n.abrupt("return",n.sent);case 5:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}(),post:function(){var n=Object(dn.a)(hn.a.mark((function n(a,o){var r,i,c=arguments;return hn.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=2<c.length&&void 0!==c[2]?c[2]:{},(i=3<c.length&&void 0!==c[3]?c[3]:{}).body=JSON.stringify(o),n.next=5,Kn(a,"post",Object(Qt.a)(Object(Qt.a)({},r),{},{store:e,instance:t}),i);case 5:return n.abrupt("return",n.sent);case 6:case"end":return n.stop()}}),n)})));return function(e,t){return n.apply(this,arguments)}}(),put:function(){var n=Object(dn.a)(hn.a.mark((function n(a,o){var r,i,c=arguments;return hn.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=2<c.length&&void 0!==c[2]?c[2]:{},(i=3<c.length&&void 0!==c[3]?c[3]:{}).body=JSON.stringify(o),n.next=5,Kn(a,"put",Object(Qt.a)(Object(Qt.a)({},r),{},{store:e,instance:t}),i);case 5:return n.abrupt("return",n.sent);case 6:case"end":return n.stop()}}),n)})));return function(e,t){return n.apply(this,arguments)}}(),$delete:function(){var n=Object(dn.a)(hn.a.mark((function n(a){var o,r,i=arguments;return hn.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=1<i.length&&void 0!==i[1]?i[1]:{},r=2<i.length&&void 0!==i[2]?i[2]:{},n.next=4,Kn(a,"delete",Object(Qt.a)(Object(Qt.a)({},o),{},{store:e,instance:t}),r);case 4:return n.abrupt("return",n.sent);case 5:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()}}(t.$store,t),t.__created__hook=Object(ln.a)(t.$options.created),t.$options.created=[],t.__mounted__hook=t.$options.mounted?Object(ln.a)(t.$options.mounted):[],t.$options.mounted=[],c=t.__created__hook.slice(1),o=Object(Kt.a)(c);try{for(o.s();!(r=o.n()).done;){i=r.value;try{i.apply(t)}catch(n){}}}catch(n){o.e(n)}finally{o.f()}if(c=t.__state_alias__||t.$options.__id__,t.$store.state.__general__.serverError[c])return t.$options.render=null,n.abrupt("return");n.next=15;break;case 15:if(s=t.$store.state.__general__.config,d=null===(u=null===(d=null===(u=null==s?void 0:s.system)||void 0===u?void 0:u.media)||void 0===d?void 0:d.js)||void 0===u?void 0:u.replace(/https?:\/\/|^\/\//,"https://").match(/^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i),u=d&&d[1],d=s.allowedToGetState.includes(t.$options.name),t.$store.state.items[c]||!d){n.next=39;break}if(u){n.next=23;break}return console.error('It was not possible to obtain the status of the component "'+t.$options.name+'" because it was not possible to identify the obtaining hostname.The hostname is defined in "config.system.media.js". Please check that the hostname is valid.'),n.abrupt("return");case 23:return l=t.$options.render,t.$options.render=null,d=s.__req__,n.next=28,t.fetch.get("//".concat(u,"/assets/?loadComponent=").concat(t.$options.name,"&data=").concat(JSON.stringify(Object.keys(t.$options.propsData).filter((function(e){return!e.includes("stateAlias")&&!e.includes("__id__")})).reduce((function(e,n){return e[n]=t.$options.propsData[n],e}),{})),"&getState&configPath=").concat(s.loadedConfig.replace(/\.json$/,""),"&forcedFormat=").concat(d.format,"&forcedUserAgent=").concat(d["user-agent"],"&forcedDomain=").concat(d.domain));case 28:if(p=n.sent,h=p.data,p=p.error)return console.error('Could not get state for component with stateID: "'.concat(c,'" during rendering on the client')),console.error(p),t.$store.state.items[c]||(t.$options.render=null),n.abrupt("return");n.next=36;break;case 36:p=h.items[c],t.$store.dispatch("setDispatchData",{id:c,item:p}),t.$store.state.items[c]?(t.$options.render=l,t.$forceUpdate()):t.$options.render=null;case 39:case"end":return n.stop()}}),n)})))()},destroyed:function(){this.$store.dispatch("updateState",this.getId())},created:function(){var n,a,o=((this.$store.state||{}).__general__||{}).config||{};for(n in xn||{})xn[n].tools=Object(Qt.a)({},xn),delete xn[n].tools[n],xn[n].config=o;for(a in Dn||{})Dn[a].apis=Object(Qt.a)({},Dn),Dn[a].config=o,Dn[a].tools={custom:xn},delete Dn[a].apis[a];this.tools={custom:xn},this.apis={custom:Dn},(t||{}).tools&&(this.tools=fn()(!0,this.tools,t.tools)),(t||{}).apis&&(this.apis=fn()(!0,this.apis,t.apis)),this.config=fn()(!0,{},o,(t||{}).config||{}),e||(this.$options.components=fn()(!0,this.$options.components,cn)),this.$options.propsData.stateAlias&&(this.__state_alias__=this.$options.propsData.stateAlias);try{this.stateID||(this.stateID=this.__state_alias__||this.$options.__id__)}catch(n){console.error(n)}if(this.$options.methods.styled instanceof Function){var r,i,c=this.$options.methods.styled();for(r in c)c[r].as&&!this.$options.components[r]&&(i=Fn(c[r].as,c[r].tokens||[]),this.$options.components[r]=i)}}}}a.a.config.ignoredElements=["ignore","media-content"],a.a.config.silent=!0;var da,ha,pa=["__id__","__initiator__","header","component"];for(ha in n(826),n(824),window.history.scrollRestoration="auto",a.a.config.ignoredElements=["ignore","media-content"],a.a.config.silent=!0,/debug=true/.test(location.search)&&new PerformanceObserver((function(e){return e.getEntries().forEach((function(e){return console.log(">>> longtask",e.toJSON())}))})).observe({entryTypes:["longtask"]}),cn||{})"LazyHydrate"!==ha&&"Hydrate"!==ha&&(cn[ha]=cn[ha].extend(la(!1)));function fa(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null,n=document.createElement("script");n.async=!0,n.type="text/javascript",n.src=e,t&&(n.onload=function(){return t()}),document.head.appendChild(n)}window.__INITIAL_STATE__&&null!==(da=null===(da=null===(da=window.__INITIAL_STATE__)||void 0===da?void 0:da.__general__)||void 0===da?void 0:da.config)&&void 0!==da&&da.rm_require.forEach((function(e){delete cn[e]}));var va=!1;function ma(){!0!==va&&!0!==/debugDisableApp=true/.test(window.location.search)&&(fa("https://static.chartbeat.com/js/chartbeat_mab.js",(function(){return fa("https://static.chartbeat.com/js/chartbeat_video.js")})),va=!0,new Promise((function(e){window.requestAnimationFrame((function(){performance.mark("uol-vueland-vue-app-store:start");var t=function(e,t){var n=1<arguments.length&&void 0!==t?t:null,o=e||"object"===("undefined"==typeof window?"undefined":Object(un.a)(window));return new pn.a.Store({state:function(){return n||{data:{},items:{},__maps__:{},__maps_client__:{},__custom_maps__:{},__general__:{serverError:{}},__cache__:{request:{get:{},post:{},put:{},delete:{}}}}},getters:{data:function(e){return function(t){return t in e.data?e.data[t]:void 0}},userEmail:function(e){var t;return null!==(t=e.data.UserProfileAuthStatus)&&void 0!==t&&t.email?e.data.UserProfileAuthStatus.email:""},isUOLProductSubscriber:function(e){var t;return!(null===(t=e.data.UserProfileAuthStatus)||void 0===t||!t.isUOLProductSubscriber)&&e.data.UserProfileAuthStatus.isUOLProductSubscriber}},actions:{fetch:function(e,t){return e=e.commit,mn(t.resolver,t.instance,e)},setDispatchData:function(e,t){(0,e.commit)("setDispatchData",{id:t.id,item:t.item})},updateState:function(e,t){return(0,e.commit)("updateState",t)},deleteState:function(e,t){return(0,e.commit)("deleteState",t)},setCache:function(e,t){(0,e.commit)("setCache",{id:t.id,data:t.data,method:t.method})},setContextMap:function(e,t){return(0,e.commit)("setContextMap",{name:t.name})},setCustomStore:function(e,t){return(0,e.commit)("setCustomStore",t)},setGeneral:function(e,t){return(0,e.commit)("setGeneral",t)},setComponentWithServerError:function(e,t){return(0,e.commit)("setComponentWithServerError",t)},updateStore:function(e,t){return(0,e.commit)("updateStore",t)},updateCustomStore:function(e,t){return(0,e.commit)("updateCustomStore",t)},setData:function(e,t){return(0,e.commit)("updateData",t)}},mutations:{setDispatchData:function(e,t){var n=t.id;t=t.item;a.a.set(e.items,n,t)},updateState:function(e,t){Object.entries(t).forEach((function(t){t=(n=Object(sn.a)(t,2))[0];var n=n[1];return a.a.set(e.items,t,n)}))},deleteState:function(e,t){a.a.delete(e.items,t)},setCache:function(e,t){var n=t.id,o=t.data,r=t.method;(t=["get","post","put","delete"]).includes(r)?a.a.set(e.__cache__.request[r],n,o):console.error("Invalid cache (".concat(r,") for request cache. The allowed methods are: ").concat(t.join(", ")))},setConfig:function(e,t){a.a.set(e.__general__,"config",t)},setGeneral:function(e,t){var n=t.id;t=t.content;a.a.set(e.__general__,n,t)},setComponentWithServerError:function(e,t){t=t.id,a.a.set(e.__general__.serverError,t,!0)},setContextMap:function(e,t){var n=t.name,r=o?"__maps_client__":"__maps__";e[r][n]||(e[r][n]=0),t=e[r][n]+1,a.a.set(e[r],n,t)},setCustomStore:function(e,t){var n=t.id;t=t.content;a.a.set(e.__custom_maps__,n,t)},updateStore:function(e,t){var n=t.id;t=t.content;a.a.set(e.items,n,t)},updateCustomStore:function(e,t){var n=t.id;t=t.content;a.a.set(e.__custom_maps__,n,t)},updateData:function(e,t){var n=t.id;t=t.content;a.a.set(e.data,n,t)}}})}(!1,window.__INITIAL_STATE__);performance.measure("uol-vueland-vue-app-store","uol-vueland-vue-app-store:start"),e(t)}))})).then((function(e){performance.mark("uol-vueland-vue-app-init:start"),new a.a({store:e,components:cn,render:function(e){return e("div",(window.renderStack||[]).map((function(t){var n=t.component;return e(cn[n],{props:t})})))}}).$mount("#app"),performance.measure("uol-vueland-vue-app-init","uol-vueland-vue-app-init:start"),e=function(){document.dispatchEvent(new CustomEvent("hydration:appReady")),window.dispatchEvent(new CustomEvent("scroll"))},window.requestIdleCallback?window.requestIdleCallback(e,{timeout:500}):setTimeout(e,1e3/60)})))}window.addEventListener("DOMContentLoaded",(function(){ma()}),{once:!0}),window.addEventListener("pageshow",(function(){ma()}),{once:!0})}}]);
