(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{2894:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),(t=n(4)).BackEnvironment,t.BackEnvironment,t.BackEnvironment,t.BackEnvironment,t.BackEnvironment,t.BackEnvironment,t.BackEnvironment;class r extends t.BackEnvironment{}class a extends t.BackEnvironment{}},2917:function(e,t,n){"use strict";n.r(t),n.d(t,"BaseService",(function(){return o})),n.d(t,"LiveService",(function(){return s})),n.d(t,"NewsService",(function(){return i})),n.d(t,"Olympics2024Service",(function(){return c}));var r=n(4),a=n(74);n.d(t,"PagesType",(function(){return a.a})),n.d(t,"useLiveStore",(function(){return a.c})),n.d(t,"useNewsStore",(function(){return a.b})),n.d(t,"useOlympicsStore",(function(){return a.d})),n.d(t,"usePageStore",(function(){return a.e})),n(2894),n(18);class o extends r.BackEnvironment{}class i extends r.BackEnvironment{}class s extends r.BackEnvironment{}class c extends r.BackEnvironment{}},2919:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return r}));
/*!
 * Jupiter - Jupiter ads service
 * 2023 Fagner Janderson <fjsilva@uolinc.com>
 */
class r extends n(4).MixedEnvironment{constructor(){super(...arguments),this.identifiers=new Map}buildID(e){var t=(this.identifiers.get(e)||0)+1;return this.identifiers.set(e,t),e.replace(/-^/,"")+"-"+t}resetID(e){this.identifiers.set(e,0)}getAdsHandler(){var e=this.getConfig().ads;return null!=e&&e.mode&&"default"!==e.mode?"pushAds":"uolads"}push(e,t={returnScript:!1}){const n=this.getAdsHandler();if(t.returnScript&&"string"==typeof e)return`(function(w,h){w[h] = w[h] || []; w[h].push(${"pushAds"===n?`'${e}'`:`{ id: '${e}' }`})})(window,'${n}')`;Array.isArray(window[n])?(Array.isArray(e)?e:[e]).forEach(e=>window[n].push("pushAds"===n?e:{id:e})):console.error(`window.${n} is not defined as array`)}async showSponsorSeal(e,t){const n=await this.tools.json.open("commons.uol.com.br/monaco/export/api.uol.com.br/selo-patrocinio/selo-patrocinio.json");var r=(a=e=>n["tag-scripts"].conteudo[e].split(",").filter(e=>e))("seloTags"),a=a("seloURL");return r.some(t=>e.includes(Number(t)))||a.includes(t)}}},2920:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return O})),n.d(t,"useUserStore",(function(){return j}));t=n(4);var r,a=n(31),o=n.n(a),i=(a=n(2971),a=n.n(a),n(2972)),s=(i=n.n(i),n(0));
/*!
 * pinia v2.1.7
 * (c) 2023 Eduardo San Martin Morote
 * @license MIT
 */
let c;n.n(s).a.util.warn;const l=e=>c=e,u=Symbol();function d(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}(n=r=r||{}).direct="direct",n.patchObject="patch object",n.patchFunction="patch function",n="undefined"!=typeof window;const p="undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&n,m=()=>{};function h(e,t,n,r=m){e.push(t);var a=()=>{var n=e.indexOf(t);-1<n&&(e.splice(n,1),r())};return!n&&Object(s.getCurrentScope)()&&Object(s.onScopeDispose)(a),a}function f(e,...t){e.slice().forEach(e=>{e(...t)})}const g=e=>e();function v(e,t){e instanceof Map&&t instanceof Map&&t.forEach((t,n)=>e.set(n,t)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const a in t){var n,r;t.hasOwnProperty(a)&&(n=t[a],d(r=e[a])&&d(n)&&e.hasOwnProperty(a)&&!Object(s.isRef)(n)&&!Object(s.isReactive)(n)?e[a]=v(r,n):e[a]=n)}return e}Symbol();const b=new WeakMap,y=Object.assign;function w(e,t,n={},a,o,i){let c;const u=y({actions:{}},n),d={deep:!0};let w,j,O,S=[],x=[];var _=a.state.value[e],k=(i||_||Object(s.set)(a.state.value,e,{}),Object(s.ref)({}));let E;function C(t){let n;w=j=!1,n="function"==typeof t?(t(a.state.value[e]),{type:r.patchFunction,storeId:e,events:O}):(v(a.state.value[e],t),{type:r.patchObject,payload:t,storeId:e,events:O});const o=E=Symbol();Object(s.nextTick)().then(()=>{E===o&&(w=!0)}),j=!0,f(S,n,a.state.value[e])}var P=i?function(){var e=n.state;const t=e?e():{};this.$patch(e=>{y(e,t)})}:m;function A(t,n){return function(){l(a);var r=Array.from(arguments);const o=[],i=[];let s;f(x,{args:r,name:t,store:D,after:function(e){o.push(e)},onError:function(e){i.push(e)}});try{s=n.apply(this&&this.$id===e?this:D,r)}catch(r){throw f(i,r),r}return s instanceof Promise?s.then(e=>(f(o,e),e)).catch(e=>(f(i,e),Promise.reject(e))):(f(o,s),s)}}var $;k=Object(s.markRaw)({actions:{},getters:{},state:[],hotState:k}),P={_p:a,$id:e,$onAction:h.bind(null,x),$patch:C,$reset:P,$subscribe(t,n={}){var o=h(S,t,n.detached,()=>i());const i=c.run(()=>Object(s.watch)(()=>a.state.value[e],a=>{("sync"===n.flush?j:w)&&t({storeId:e,type:r.direct,events:O},a)},y({},d,n)));return o},$dispose:function(){c.stop(),S=[],x=[],a._s.delete(e)},_r:!1};const D=Object(s.reactive)(p?y({_hmrPayload:k,_customProperties:Object(s.markRaw)(new Set)},P):P),M=(a._s.set(e,D),(a._a&&a._a.runWithContext||g)(()=>a._e.run(()=>(c=Object(s.effectScope)()).run(t))));for(const t in M){var T,L=M[t];Object(s.isRef)(L)&&($=L,!Object(s.isRef)($)||!$.effect)||Object(s.isReactive)(L)?i||(_&&($=L,!b.has($))&&(Object(s.isRef)(L)?L.value=_[t]:v(L,_[t])),Object(s.set)(a.state.value[e],t,L)):"function"==typeof L&&(T=A(t,L),Object(s.set)(M,t,T),u.actions[t]=L)}if(Object.keys(M).forEach(e=>{Object(s.set)(D,e,M[e])}),Object.defineProperty(D,"$state",{get:()=>a.state.value[e],set:e=>{C(t=>{y(t,e)})}}),p){const e={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(t=>{Object.defineProperty(D,t,y({value:D[t]},e))})}return D._r=!0,a._p.forEach(e=>{var t;p?(t=c.run(()=>e({store:D,app:a._a,pinia:a,options:u})),Object.keys(t||{}).forEach(e=>D._customProperties.add(e)),y(D,t)):y(D,c.run(()=>e({store:D,app:a._a,pinia:a,options:u})))}),_&&i&&n.hydrate&&n.hydrate(D.$state,_),w=!0,j=!0,D}const j=function(e,t,n){let r,a;function o(e,n){var o=!!Object(s.getCurrentInstance)();return o=((e=e||(o?Object(s.inject)(u,null):null))&&l(e),(e=c)._s.has(r)||w(r,t,a,e),e._s.get(r))}return r=e,a=void 0,o.$id=r,o}("user",()=>{var e=Object(s.ref)({});const t={id:Object(s.ref)(),name:Object(s.ref)(),email:Object(s.ref)(),avatar:Object(s.ref)(),isLogged:Object(s.ref)(!1),isSubscriber:Object(s.ref)(!1),login:Object(s.ref)(),commentsToken:Object(s.ref)()};var n=Object(s.ref)({items:[],counters:{total:0,notify:{count:0},email:{count:0,url:null,domain:null}}}),r=Object(s.ref)({});return{...t,menu:e,notifications:n,preferences:r,setUserData:function(e){Object.entries(e).forEach(([e,n])=>{Object.hasOwnProperty.call(t,e)&&(t[e].value=n)})},resetUserData:function(){Object.keys(t).forEach(e=>{t[e].value="boolean"!=typeof t[e].value&&void 0})}}});n=Object.defineProperty,Object.getOwnPropertyDescriptor;o.a.use(a.a),o.a.use(i.a);class O extends t.MixedEnvironment{constructor(){super(...arguments),this.defaultNotificationState={items:[],counters:{}}}async init(){try{await o.a.init()}catch(e){console.error(e)}var e=o.a.getUser(),t=(this.userStore.setUserData(e),window.onAuthenticated=async()=>{try{await o.a.init(),this.userStore.setUserData(o.a.getUser()),this.getMenu(),this.getNotification(!0)}catch(e){console.error(e)}},[this.getMenu()]);e.isLogged&&t.push(this.getNotification(!0)),await Promise.allSettled(t)}login(){return o.a.login(window.__JupiterLoginURLReturn)}setLoginUrlReturn(e){window.__JupiterLoginURLReturn=e}async logout(){try{await o.a.logout(),this.userStore.resetUserData(),await this.getMenu()}catch(e){console.error(e)}}getUserData(){return this.userStore.$state}async getMenu(){let e=[];try{var t=await o.a.$menu.getMenu();Array.isArray(t)&&(e=t)}catch(e){console.error(e)}this.userStore.menu=e}async getNotification(e=!1){var t=this.userStore.notifications||this.defaultNotificationState;try{var n=await o.a.$notify.fetch();Array.isArray(n)&&n.length&&(t.items=t.items.concat(n))}catch(e){console.error(e)}if(e)try{t.counters=await o.a.$notify.getCounters()}catch(e){console.error(e)}this.userStore.notifications=t}async markNotificationAsRead(e){var t=this.userStore.notifications||this.defaultNotificationState;try{await o.a.$notify.markAsRead(e),t.items=t.items.map(t=>(t.id===e&&(t.read=!0),t))}catch(t){console.error(t)}try{t.counters=await o.a.$notify.getCounters()}catch(t){console.error(t)}this.userStore.notifications=t}async deleteNotification(e){var t=this.userStore.notifications||this.defaultNotificationState;try{await o.a.$notify.delete(e),t.items=t.items.filter(t=>t.id!==e)}catch(t){console.error(t)}this.userStore.notifications=t}}for(var S,x=[Object(t.Inject)(j)],_=O.prototype,k="userStore",E=void 0,C=x.length-1;0<=C;C--)(S=x[C])&&(E=S(_,k,E)||E);E&&n(_,k,E)},3059:function(e,t,n){var r=n(3060).default;e.exports=function(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},a=Object.prototype,o=a.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},s=(j="function"==typeof Symbol?Symbol:{}).iterator||"@@iterator",c=j.asyncIterator||"@@asyncIterator",l=j.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(t){u=function(e,t,n){return e[t]=n}}function d(e,n,r,a){var o,s,c,l;n=n&&n.prototype instanceof b?n:b,n=Object.create(n.prototype),a=new C(a||[]);return i(n,"_invoke",{value:(o=e,s=r,c=a,l=m,function(e,n){if(l===f)throw new Error("Generator is already running");if(l===g){if("throw"===e)throw n;return{value:t,done:!0}}for(c.method=e,c.arg=n;;){var r=c.delegate;if(r&&(r=function e(n,r){var a=r.method,o=n.iterator[a];return o===t?(r.delegate=null,"throw"===a&&n.iterator.return&&(r.method="return",r.arg=t,e(n,r),"throw"===r.method)||"return"!==a&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+a+"' method")),v):"throw"===(a=p(o,n.iterator,r.arg)).type?(r.method="throw",r.arg=a.arg,r.delegate=null,v):(o=a.arg)?o.done?(r[n.resultName]=o.value,r.next=n.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}(r,c))){if(r===v)continue;return r}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(l===m)throw l=g,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);if(l=f,"normal"===(r=p(o,s,c)).type){if(l=c.done?g:h,r.arg===v)continue;return{value:r.arg,done:c.done}}"throw"===r.type&&(l=g,c.method="throw",c.arg=r.arg)}})}),n}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=d;var m="suspendedStart",h="suspendedYield",f="executing",g="completed",v={};function b(){}function y(){}function w(){}var j,O,S=((O=(O=(u(j={},s,(function(){return this})),Object.getPrototypeOf))&&O(O(P([]))))&&O!==a&&o.call(O,s)&&(j=O),w.prototype=b.prototype=Object.create(j));function x(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){var n;i(this,"_invoke",{value:function(a,i){function s(){return new t((function(n,s){!function n(a,i,s,c){var l;if("throw"!==(a=p(e[a],e,i)).type)return(i=(l=a.arg).value)&&"object"==r(i)&&o.call(i,"__await")?t.resolve(i.__await).then((function(e){n("next",e,s,c)}),(function(e){n("throw",e,s,c)})):t.resolve(i).then((function(e){l.value=e,s(l)}),(function(e){return n("throw",e,s,c)}));c(a.arg)}(a,i,n,s)}))}return n=n?n.then(s,s):s()}})}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function P(e){if(e||""===e){var n,a=e[s];if(a)return a.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return n=-1,(a=function r(){for(;++n<e.length;)if(o.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r}).next=a}throw new TypeError(r(e)+" is not iterable")}return i(S,"constructor",{value:y.prototype=w,configurable:!0}),i(w,"constructor",{value:y,configurable:!0}),y.displayName=u(w,l,"GeneratorFunction"),n.isGeneratorFunction=function(e){return!!(e="function"==typeof e&&e.constructor)&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,u(e,l,"GeneratorFunction")),e.prototype=Object.create(S),e},n.awrap=function(e){return{__await:e}},x(_.prototype),u(_.prototype,c,(function(){return this})),n.AsyncIterator=_,n.async=function(e,t,r,a,o){void 0===o&&(o=Promise);var i=new _(d(e,t,r,a),o);return n.isGeneratorFunction(t)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},x(S),u(S,l,"Generator"),u(S,s,(function(){return this})),u(S,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t,n=Object(e),r=[];for(t in n)r.push(t);return r.reverse(),function e(){for(;r.length;){var t=r.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},n.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(E),!e)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,a){return s.type="throw",s.arg=e,n.next=r,a&&(n.method="next",n.arg=t),!!a}for(var a=this.tryEntries.length-1;0<=a;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}var i=(a=a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc?null:a)?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n,r,a=this.tryEntries[t];if(a.tryLoc===e)return"throw"===(n=a.completion).type&&(r=n.arg,E(a)),r}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:P(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},n},e.exports.__esModule=!0,e.exports.default=e.exports},3060:function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},3063:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return r}));
/*!
 * Jupiter - Jupiter app service
 * 2023 Fagner Janderson <fjsilva@uolinc.com>
 */
class r extends n(4).MixedEnvironment{inApp(){var e=null==(e=null==(e=this.getConfig())?void 0:e.app)?void 0:e.paramName;return void 0!==this.getRequest().getParams(e)}inHomologApp(){var e=null==(e=null==(e=this.getConfig())?void 0:e.app)?void 0:e.homologParamName;return this.isParamEnabled(this.getRequest().getParams(e))}isEmbed(){return void 0!==this.getRequest().getParams("liveEmbed")}get capabilities(){const e={comments:!1,initMetrics:this.isParamEnabled(this.getRequest().getParams("app_init_metrics"))||!1,woutAdivs:!1};return(this.getRequest().getParams("app_capabilities")||"").split(/[;,]/).forEach(t=>{t=t.replace(/[-_](\w)/g,(e,t)=>t.toUpperCase()),e[t]=!0}),e}isParamEnabled(e){return![void 0,null,!1,"false"].includes(e)}}},3064:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return T})),n.d(t,"slotsPrefix",(function(){return g})),n.d(t,"useCampaignStore",(function(){return $}));t=n(4);
/*!
 * Main exports
 */var r=n(49),a=n(18),o=n.n(a),i=n(94),s=(a=n(2919),n(2917)),c=n(0),l=(n=n.n(c),{$and:!0,$or:!0,$nor:!0});function u(e){this.query=e,this.stack=m(e)}
/*!
 * Version number
 */
/*!
 * ## parsePath(path)
 *
 * Helper function used to parse string object
 * paths. Use in conjunction with `getPathValue`.
 *
 *      var parsed = parsePath('myobject.property.subprop');
 *
 * ### Paths:
 *
 * * Can be as near infinitely deep and nested
 * * Arrays are also valid using the formal `myobject.document[3].property`.
 *
 * @param {String} path
 * @returns {Object} parsed
 */function d(e){return e.replace(/\[/g,".[").match(/(\\\.|[^.]+?)+/g).map((function(e){var t=/\[(\d+)\]$/.exec(e);return t?{i:parseFloat(t[1])}:{p:e}}))}function p(e,t){for(var n,r=t,a=0,o=e.length;a<o;a++){var i=e[a];r?(void 0!==i.p?r=r[i.p]:void 0!==i.i&&(r=r[i.i]),a==o-1&&(n=r)):n=void 0}return n}
/*!
 * ## parseQuery(query)
 *
 * Given the query input, create a reusable definition
 * for how to test data again the query.
 *
 * @param {Object} query
 * @returns {Array} stack to be used with `Filtr.prototype.test`
 */function m(e){var t,n=[];for(t in e){var r={},a=e[t];"$"==t[0]?r.test=h(e):(r.test=h("string"==typeof a||"number"==typeof a||"boolean"==typeof a?{$eq:a}:a),r.path=d(t)),n.push(r)}return n}
/*!
 * ## parseFilter (query)
 *
 * Given that the root object passed is a comparator definition,
 * return a consumable test definition.
 *
 * @param {Object} query
 * @returns {Array} stack for use as input with `testFilter`
 */function h(e){var t,n=[];for(t in e){var r=u.comparators[t],a=e[t],o=!1;if(l[t])for(var i=[],s=(o=!0,0);s<a.length;s++){var c,d=a[s];"string"==typeof d||"number"==typeof d||"boolean"==typeof d?o=!1:c=m(d),i.push(c)}n.push({fn:r,params:o?i:a,traverse:o})}return n}
/*!
 * ## testFilter(value, stack)
 *
 * Given a well-formed stack from `parseFilter`, test
 * a given value again the stack.
 *
 * As the value is passed to a comparator, if that comparator
 * can interpret the value, false will be return. IE $gt: 'hello'
 *
 * @param {Object} value for consumption by comparator test
 * @param {Array} stack from `parseFilter`
 * @returns {Boolean} result
 * @api private
 */function f(e,t){for(var n=!0,r=0,a=t.length;r<a;r++){var o=t[r];!function(e,t){for(var n=!0,r=0;r<t.length;r++){var a=t[r],o=a.params;if(a.traverse){for(var i=[],s=0;s<o.length;s++)i.push(f(e,o[s]));o=i}1==a.fn.length?a.fn(o)||(n=!1):a.fn(e,o)||(n=!1)}return n}(o.path?p(o.path,e):e,o.test)&&(n=!1)}return n}u.version="0.3.0",u.comparators={$gt:function(e,t){return t<e},$gte:function(e,t){return t<=e},$lt:function(e,t){return e<t},$lte:function(e,t){return e<=t},$all:function(e,t){for(var n=0;n<t.length;n++)if(!~e.indexOf(t[n]))return!1;return!0},$exists:function(e,t){return!!e==t},$mod:function(e,t){return e%t[0]==t[1]},$eq:function(e,t){return e==t},$ne:function(e,t){return e!=t},$in:function(e,t){return Array.isArray(e)?e.some(e=>t.includes(e)):!!~t.indexOf(e)},$nin:function(e,t){if(void 0!==e)return Array.isArray(e)?e.every(e=>!t.includes(e)):!~t.indexOf(e)},$size:function(e,t){return!(!e.length||!t)&&e.length==t},$or:function(e){for(var t=!1,n=0;n<e.length;n++)e[n]&&(t=!0);return t},$nor:function(e){for(var t=!0,n=0;n<e.length;n++)e[n]&&(t=!1);return t},$and:function(e){for(var t=!0,n=0;n<e.length;n++)e[n]||(t=!1);return t},$regex:function(e,t){return(t="string"==typeof t?(e=>{t="/",t=(e=e).lastIndexOf(t);var[e,t]=[e.slice(0,t),e.slice(t+1)];return new RegExp(e.replace(/^\//,""),t||"g")})(t):t instanceof RegExp?t:void 0)?t.test(e):void 0}},u.getPathValue=function(e,t){return p(d(e),t)},u.setPathValue=function(e,t,n){for(var r=d(e),a=t,o=n,i=0,s=r.length;i<s;i++){var c=r[i];void 0!==o?i==s-1?void 0!==c.p?o[c.p]=a:void 0!==c.i&&(o[c.i]=a):void 0!==c.p&&o[c.p]?o=o[c.p]:void 0!==c.i&&o[c.i]?o=o[c.i]:(r[i+1],void 0!==c.p?(o[c.p]={},o=o[c.p]):void 0!==c.i&&(o[c.i]=[],o=o[c.i])):i==s-1?o=a:void 0!==c.p?o={}:void 0!==c.i&&(o=[])}},u.prototype.test=function(e,t){for(var n=
/*!
 * helper function for setting defaults
 */
function(e,t){if(e&&t)for(var n in t)void 0===e[n]&&(e[n]=t[n]);return e}(t||{},{type:"set",spec:"subset"}),r="single"!=n.type&&[],a=0,o=(e="single"==n.type?[e]:e).length;a<o;a++){var i=e[a],s=f(i,this.stack);if("single"==n.type)r=s;else switch(n.spec){case"boolean":r.push(s);break;case"index":s&&r.push(a);break;default:s&&r.push(i)}}return r};const g=["header-contextual","header-suffix","header-bottom","header-top","fixed-mobile","vertical-1-left","vertical-2-left","vertical-3-left","vertical-4-left","vertical-5-left","vertical-6-left","vertical-7-left","vertical-8-left","vertical-9-left","vertical-10-left","vertical-11-left","vertical-12-left","vertical-13-left","vertical-14-left","vertical-1-right","vertical-2-right","vertical-3-right","vertical-4-right","vertical-5-right","vertical-6-right","vertical-7-right","vertical-8-right","vertical-9-right","vertical-10-right","vertical-11-right","vertical-12-right","vertical-13-right","vertical-14-right","modal-1","modal-2","modal-3","modal-4","modal-5","modal-6","modal-7","modal-8","modal-9","modal-10","modal-11","modal-12","modal-13","modal-14","text-1","text-2","text-3","text-4","text-5","text-6","text-7","text-8","text-9","text-10","text-11","text-12","text-13","text-14","horizontal-1","horizontal-2","horizontal-3","horizontal-4","horizontal-5","horizontal-6","horizontal-7","horizontal-8","horizontal-9","horizontal-10","horizontal-11","horizontal-12","horizontal-13","horizontal-14","horizontal-15","horizontal-16","horizontal-17","horizontal-18","horizontal-19","horizontal-20","text-group-top-1","text-group-top-2","text-group-top-3","text-group-top-4","text-group-top-5","text-group-top-6","text-group-top-7","text-group-top-8","text-group-top-9","text-group-top-10","text-group-top-11","text-group-top-12","text-group-top-13","text-group-top-14","text-group-bottom-1","text-group-bottom-2","text-group-bottom-3","text-group-bottom-4","text-group-bottom-5","text-group-bottom-6","text-group-bottom-7","text-group-bottom-8","text-group-bottom-9","text-group-bottom-10","text-group-bottom-11","text-group-bottom-12","text-group-bottom-13","text-group-bottom-14","content-top","content-footer-1","content-footer-2","content-footer-3","content-footer-4","content-footer-5","content-footer-6","scripts-before","scripts-after"];var v;
/*!
 * pinia v2.1.7
 * (c) 2023 Eduardo San Martin Morote
 * @license MIT
 */
let b;n.a.util.warn;const y=e=>b=e,w=Symbol();function j(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}(n=v=v||{}).direct="direct",n.patchObject="patch object",n.patchFunction="patch function",n="undefined"!=typeof window;const O="undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&n,S=()=>{};function x(e,t,n,r=S){e.push(t);var a=()=>{var n=e.indexOf(t);-1<n&&(e.splice(n,1),r())};return!n&&Object(c.getCurrentScope)()&&Object(c.onScopeDispose)(a),a}function _(e,...t){e.slice().forEach(e=>{e(...t)})}const k=e=>e();function E(e,t){e instanceof Map&&t instanceof Map&&t.forEach((t,n)=>e.set(n,t)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const a in t){var n,r;t.hasOwnProperty(a)&&(n=t[a],j(r=e[a])&&j(n)&&e.hasOwnProperty(a)&&!Object(c.isRef)(n)&&!Object(c.isReactive)(n)?e[a]=E(r,n):e[a]=n)}return e}Symbol();const C=new WeakMap,P=Object.assign;function A(e,t,n={},r,a,o){let i;const s=P({actions:{}},n),l={deep:!0};let u,d,p,m=[],h=[];var f=r.state.value[e],g=(o||f||Object(c.set)(r.state.value,e,{}),Object(c.ref)({}));let b;function w(t){let n;u=d=!1,n="function"==typeof t?(t(r.state.value[e]),{type:v.patchFunction,storeId:e,events:p}):(E(r.state.value[e],t),{type:v.patchObject,payload:t,storeId:e,events:p});const a=b=Symbol();Object(c.nextTick)().then(()=>{b===a&&(u=!0)}),d=!0,_(m,n,r.state.value[e])}var j=o?function(){var e=n.state;const t=e?e():{};this.$patch(e=>{P(e,t)})}:S;function A(t,n){return function(){y(r);var a=Array.from(arguments);const o=[],i=[];let s;_(h,{args:a,name:t,store:D,after:function(e){o.push(e)},onError:function(e){i.push(e)}});try{s=n.apply(this&&this.$id===e?this:D,a)}catch(a){throw _(i,a),a}return s instanceof Promise?s.then(e=>(_(o,e),e)).catch(e=>(_(i,e),Promise.reject(e))):(_(o,s),s)}}var $;g=Object(c.markRaw)({actions:{},getters:{},state:[],hotState:g}),j={_p:r,$id:e,$onAction:x.bind(null,h),$patch:w,$reset:j,$subscribe(t,n={}){var a=x(m,t,n.detached,()=>o());const o=i.run(()=>Object(c.watch)(()=>r.state.value[e],r=>{("sync"===n.flush?d:u)&&t({storeId:e,type:v.direct,events:p},r)},P({},l,n)));return a},$dispose:function(){i.stop(),m=[],h=[],r._s.delete(e)},_r:!1};const D=Object(c.reactive)(O?P({_hmrPayload:g,_customProperties:Object(c.markRaw)(new Set)},j):j),M=(r._s.set(e,D),(r._a&&r._a.runWithContext||k)(()=>r._e.run(()=>(i=Object(c.effectScope)()).run(t))));for(const t in M){var T,L=M[t];Object(c.isRef)(L)&&($=L,!Object(c.isRef)($)||!$.effect)||Object(c.isReactive)(L)?o||(f&&($=L,!C.has($))&&(Object(c.isRef)(L)?L.value=f[t]:E(L,f[t])),Object(c.set)(r.state.value[e],t,L)):"function"==typeof L&&(T=A(t,L),Object(c.set)(M,t,T),s.actions[t]=L)}if(Object.keys(M).forEach(e=>{Object(c.set)(D,e,M[e])}),Object.defineProperty(D,"$state",{get:()=>r.state.value[e],set:e=>{w(t=>{P(t,e)})}}),O){const e={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(t=>{Object.defineProperty(D,t,P({value:D[t]},e))})}return D._r=!0,r._p.forEach(e=>{var t;O?(t=i.run(()=>e({store:D,app:r._a,pinia:r,options:s})),Object.keys(t||{}).forEach(e=>D._customProperties.add(e)),P(D,t)):P(D,i.run(()=>e({store:D,app:r._a,pinia:r,options:s})))}),f&&o&&n.hydrate&&n.hydrate(D.$state,f),u=!0,d=!0,D}const $=function(e,t,n){let r,a;function o(e,n){var o=!!Object(c.getCurrentInstance)();return o=((e=e||(o?Object(c.inject)(w,null):null))&&y(e),(e=b)._s.has(r)||A(r,t,a,e),e._s.get(r))}return r=e,a=void 0,o.$id=r,o}("campaign",()=>{var e=Object(c.ref)([]);const t=Object(c.ref)({});var n=Object(c.ref)([]);const r=e=>({...e.data||{},ab:e.ab,name:e.name,withClientSideQuery:e.withClientSideQuery,fixed:e.fixed,stick:e.stick,_id:e._id,skeletonRepeat:3});return{ids:e,slots:t,tests:n,setCampaigns:e=>{t.value=Object.entries(e).reduce((e,[t,n])=>(e[t]={id:t,classes:[{stick:n.some(({stick:e})=>e),fixed:n.some(({fixed:e})=>e)},"campaign-container"],items:n.map(r)},e),{})}}});var D=Object.defineProperty,M=Object.getOwnPropertyDescriptor;n=(e,t,n,r)=>{for(var a,o=1<r?void 0:r?M(t,n):t,i=e.length-1;0<=i;i--)(a=e[i])&&(o=(r?a(t,n,o):a(o))||o);return r&&o&&D(t,n,o),o};"undefined"==typeof window||window.__vueland_campaign_pageHitsMap||(window.__vueland_campaign_pageHitsMap={});class T extends t.MixedEnvironment{constructor(){super(...arguments),this.abTestCookiePrefix="__vueland_campaign_ab_",this.storagePrefix="__vueland_campaign_schema",this.slots={},this.avaliableComponents={},this.availableSlots=[],this.defaultCampaignStorageData={hits:0,pageHits:0},this.campaignDataBasePath="commons.uol.com.br/sistemas/jupiter-campaign"}async init(e,t=[]){var n;this.availableSlots=[...this.availableSlots,...t];const r=await this.getCampaignData();t=null==(t=Object.values(r))?void 0:t.flat().map(({_id:e,ab:t,query:n})=>({ab:null==t?void 0:t.testName,_id:e,withHitCount:null==n?void 0:n.hits,withPageHitCount:null==n?void 0:n.pageHits})),this.store.tests=null==(n=null==(n=t||[])?void 0:n.filter(({ab:e})=>e))?void 0:n.map(({ab:e})=>e),this.store.ids=t.filter(({_id:e})=>e).map(({_id:e,withHitCount:t,withPageHitCount:n})=>({_id:e,withHitCount:t,withPageHitCount:n})),Object.keys(r).map(async t=>{const n=t;this.filter(r[n],e).forEach(e=>{var t=e.ifnot||{},r=this.availableSlots.includes(n),a=r?n:this.availableSlots.includes(t.slot)?t.slot:void 0;a&&(!r&&t.priority&&(e.priority=t.priority),this.push(a,e))})}),await this.addSponsorSealCampaign()}registerSlot(e){(Array.isArray(e)?e:[e]).forEach(e=>{this.availableSlots.includes(e)||this.availableSlots.push(e)})}async mount(){var e=this.getConfig().campaigns;await this.init(this.pageStore.tagsList,e?e.filter(e=>g.includes(e)):g)}async checkIfHaveActiveSkin(){var e,t,n=this.getRequest().getLink().split("?")[0];try{var r=await this.tools.json.open(this.campaignDataBasePath.replace(/\/$/,"")+"/skins/index.json",{omitLogs:!0,logLevel:"warn"});for(const e of r.content)if(e.tag&&this.pageStore.tagsList.includes(e.tag)||e.path&&new RegExp(e.path).test(n))return void(this.campaignDataBasePath+="/skins/"+e.skin);for(const n of["channel","central"]){var a=r[n]||{};for(const r of Object.keys(a))if((null==(t=null==(e=this.pageStore)?void 0:e.collection)?void 0:t.header[n])===r)return void(this.campaignDataBasePath+="/skins/"+a[r])}}catch(e){this.tools.log.error(e)}}async getCampaignData(){const e=[];let t={};await this.checkIfHaveActiveSkin(),g.forEach(t=>e.push(this.tools.json.open(this.campaignDataBasePath.replace(/\/$/,"")+`/${t}.json`,{omitLogs:!0,logLevel:"warn"})));try{var n=await Promise.allSettled(e).then(e=>e.filter(e=>"fulfilled"===e.status).map(e=>e.value));t=n.reduce((e,{id:t,items:n})=>(e[t]=n,e),{})}catch(t){this.tools.log.error(t)}return t}parseQuery(e,t,n,r={}){var a;try{return 0<(null==(a=new u(t).test(n,r))?void 0:a.length)}catch(t){t.message=`There was an error filtering the ${e} property of the campaign query. `+t.message,this.tools.log.error(t)}return!1}filter(e,t){var n,r=this.getConfig();const a=[{name:"station",data:[{name:null==(n=null==r?void 0:r.central)?void 0:n.slug}]},{name:"channel",data:[{name:null==(n=null==r?void 0:r.channel)?void 0:n.slug}]},{name:"device",data:[{type:this.getRequest().isDesktop()?"desktop":"mobile"}]},{name:"domain",data:[{name:this.getRequest().getDomain()}]},{name:"path",data:[{name:this.getRequest().getUri()}]},{name:"tags",data:[{id:Array.isArray(t)?t:[]}]}];return e.filter(({query:e,schedule:t})=>{var n,r,{start:t,end:i}=t||{},s=[],c=e;for({name:n,data:r}of a)c[n]&&Object.keys(c[n]).length&&s.push(this.parseQuery(n,c[n],r));for(const t of Object.keys(e))t.startsWith("$")&&s.push(this.parseQuery(t,{[t]:e[t]},a.map(e=>e.data.map(t=>({[e.name]:t}))).flat()));return t&&s.push(0<=o()().diff(t,"seconds")),i&&s.push(o()().diff(i,"seconds")<=0),s.every(e=>e)})}clientSideFilter(e){var t="undefined"==typeof window;const n=t?{}:this.userPreferencesService.getAllAttributes(),r=!t&&this.localStorageService.getData(this.storagePrefix)||{},a=(e,t)=>n=>{var r=n.query||{};return!r[e]||!Object.keys(r[e]).length||"undefined"!=typeof window&&(n.withClientSideQuery=!0,this.parseQuery(e,r[e],t))};return e.filter(e=>{var t=null==(t=null==r?void 0:r[e._id])?void 0:t.hits;return a("hits",void 0!==t?[t]:[])(e)}).filter(e=>{var t=null==(t=null==r?void 0:r[e._id])?void 0:t.pageHits;return a("pageHits",void 0!==t?[t]:[])(e)}).filter(e=>{var t=[];for(const o of[...i.a,...i.c]){var r=n[o]?[{values:n[o]}]:[];t.push(a(o,r)(e))}return t.every(e=>e)})}getComponent(e){return this.avaliableComponents[e]||e}enableComponent(...e){try{for(const t of e)this.avaliableComponents[t.options.name]=t}catch(e){this.tools.log.error(e)}}addCampaign(e,t){var n;"string"!=typeof t.data.component&&(n=t.data.component.options.name,this.enableComponent(t.data.component),t.data.component=n),this.push(e,t)}push(e,t){"undefined"==typeof window&&(this.slots[e]=this.slots[e]||[],this.slots[e].push(t),this.slots[e]=this.slots[e].sort((e,t)=>e.priority>t.priority?1:-1),this.store.setCampaigns(this.slots))}getSlot(e){var t=this.store.slots;return this.clientSideFilter((null==t?void 0:t[e])||[])}getCampaignFromSlot(e){var t=(null==(t=this.getSlot(e))?void 0:t.map(e=>({...e.data||{},ab:e.ab,withClientSideQuery:e.withClientSideQuery,fixed:e.fixed,stick:e.stick,_id:e._id})))||[],n=[];return t.some(({stick:e})=>e)&&n.push("stick"),t.some(({fixed:e})=>e)&&n.push("fixed"),{id:e,classes:n,items:t}}getCampaign(e){var t=this.getConfig().campaigns;if(!Array.isArray(t))return{};let n=t.filter(e=>g.includes(e));return(n=e?n.filter(t=>Array.isArray(e)?e.includes(t):t===e):n).reduce((e,t)=>(e[t]=this.getCampaignFromSlot(t),e),{})}clientSideInit(){var e=this.store.tests,t=this.store.ids;const n=null==(a=Object.values(this.store.slots))?void 0:a.flat(),r=(this.tools.ab.setCookiePrefix(this.abTestCookiePrefix).clear(Array.isArray(e)?e:[]),this.localStorageService.getData(this.storagePrefix)||{});var a=t.reduce((e,t)=>(e[t._id]=(null==r?void 0:r[t._id])||this.defaultCampaignStorageData,t.withHitCount?e[t._id].hits=e[t._id].hits||0:delete e[t._id].hits,t.withPageHitCount?!window.__vueland_campaign_pageHitsMap[t._id]&&n.find(({_id:e})=>e===t._id)&&(window.__vueland_campaign_pageHitsMap[t._id]=!0,e[t._id].pageHits=(e[t._id].pageHits||0)+1):delete e[t._id].pageHits,e),{});this.localStorageService.setData(this.storagePrefix,a),"undefined"!=typeof window&&(window.$VuelandCampaignPush=(e,t,n)=>{var r=this.store.slots;g.includes(e)?(r[e]=Array.isArray(r[e])?r[e]:[],r[e].push({_id:"__vueland_campaign_render_"+(new Date).getTime(),priority:n.priority||.1,stick:!!n.stick,query:{},ifnot:{},data:{component:t.component,props:t.props}}),r[e]=r[e].sort((e,t)=>e.priority>t.priority?1:-1),this.store.setCampaigns(r)):console.error(`Slot "${e}" does not exist`)})}hit(e,t){var n=this.store.ids.find(({_id:t})=>t===e),r="hits"===t?null==n?void 0:n.withHitCount:null==n?void 0:n.withPageHitCount;n&&r&&((n=this.localStorageService.getDataKey(this.storagePrefix,e)||this.defaultCampaignStorageData)[r="hits"===t?"hits":"pageHits"]=(n[r]||0)+1,this.localStorageService.setDataProp(this.storagePrefix,e,n))}getAbTestCandidate(e){return this.tools.ab.setCookiePrefix(this.abTestCookiePrefix).mount({...e,slots:Object.keys(e.plan),sample:e=>{console.log("sampĺe: test is ",e)},pick:e=>{console.log("pick: test is ",e)}})}async addSponsorSealCampaign(){await this.adsService.showSponsorSeal(this.pageStore.tagsList,this.getRequest().getLink())&&this.availableSlots.includes("header-bottom")&&this.push("header-bottom",{_id:"ads-seal",priority:1,query:{},data:{component:"JupiterAds",props:{id:"banner-120x35-area",height:56,increment:!1,rowStyle:!1}}})}}n([Object(t.Inject)(r.b)],T.prototype,"localStorageService",2),n([Object(t.Inject)(i.b)],T.prototype,"userPreferencesService",2),n([Object(t.Inject)($)],T.prototype,"store",2),n([Object(t.Inject)(s.usePageStore)],T.prototype,"pageStore",2),n([Object(t.Inject)(a.default)],T.prototype,"adsService",2)},3066:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));
/*!
 * Jupiter - Jupiter body service
 * 2023 Fagner Janderson <fjsilva@uolinc.com>
 */
class r extends n(4).MixedEnvironmentTool{setAttribute(e,t){this.isClient()?window.document.body.setAttribute(e,t||""):this.tools.body.attributes.add(e,t)}removeAttribute(e){this.isClient()?window.document.body.removeAttribute(e):this.tools.body.attributes.remove(e)}addClass(e){this.isClient()?Array.isArray(e)?e.forEach(e=>window.document.body.classList.add(e)):window.document.body.classList.add(e):this.tools.body.attributes.addClass(e)}removeClass(e){this.isClient()?Array.isArray(e)?e.forEach(e=>window.document.body.classList.remove(e)):window.document.body.classList.remove(e):this.tools.body.attributes.removeClass(e)}isClient(){return"undefined"!=typeof window}}},3069:function(e,t,n){"use strict";n.d(t,"a",(function(){return S}));t=n(4);var r,a=n(93),o=n(83),i=n(0);
/*!
 * pinia v2.1.7
 * (c) 2023 Eduardo San Martin Morote
 * @license MIT
 */
let s;n.n(i).a.util.warn;const c=e=>s=e,l=Symbol();function u(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}(n=r=r||{}).direct="direct",n.patchObject="patch object",n.patchFunction="patch function",n="undefined"!=typeof window;const d="undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&n,p=()=>{};function m(e,t,n,r=p){e.push(t);var a=()=>{var n=e.indexOf(t);-1<n&&(e.splice(n,1),r())};return!n&&Object(i.getCurrentScope)()&&Object(i.onScopeDispose)(a),a}function h(e,...t){e.slice().forEach(e=>{e(...t)})}const f=e=>e();function g(e,t){e instanceof Map&&t instanceof Map&&t.forEach((t,n)=>e.set(n,t)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const a in t){var n,r;t.hasOwnProperty(a)&&(n=t[a],u(r=e[a])&&u(n)&&e.hasOwnProperty(a)&&!Object(i.isRef)(n)&&!Object(i.isReactive)(n)?e[a]=g(r,n):e[a]=n)}return e}Symbol();const v=new WeakMap,b=Object.assign;function y(e,t,n={},a,o,s){let l;const u=b({actions:{}},n),y={deep:!0};let w,j,O,S=[],x=[];var _=a.state.value[e],k=(s||_||Object(i.set)(a.state.value,e,{}),Object(i.ref)({}));let E;function C(t){let n;w=j=!1,n="function"==typeof t?(t(a.state.value[e]),{type:r.patchFunction,storeId:e,events:O}):(g(a.state.value[e],t),{type:r.patchObject,payload:t,storeId:e,events:O});const o=E=Symbol();Object(i.nextTick)().then(()=>{E===o&&(w=!0)}),j=!0,h(S,n,a.state.value[e])}var P=s?function(){var e=n.state;const t=e?e():{};this.$patch(e=>{b(e,t)})}:p;function A(t,n){return function(){c(a);var r=Array.from(arguments);const o=[],i=[];let s;h(x,{args:r,name:t,store:D,after:function(e){o.push(e)},onError:function(e){i.push(e)}});try{s=n.apply(this&&this.$id===e?this:D,r)}catch(r){throw h(i,r),r}return s instanceof Promise?s.then(e=>(h(o,e),e)).catch(e=>(h(i,e),Promise.reject(e))):(h(o,s),s)}}var $;k=Object(i.markRaw)({actions:{},getters:{},state:[],hotState:k}),P={_p:a,$id:e,$onAction:m.bind(null,x),$patch:C,$reset:P,$subscribe(t,n={}){var o=m(S,t,n.detached,()=>s());const s=l.run(()=>Object(i.watch)(()=>a.state.value[e],a=>{("sync"===n.flush?j:w)&&t({storeId:e,type:r.direct,events:O},a)},b({},y,n)));return o},$dispose:function(){l.stop(),S=[],x=[],a._s.delete(e)},_r:!1};const D=Object(i.reactive)(d?b({_hmrPayload:k,_customProperties:Object(i.markRaw)(new Set)},P):P),M=(a._s.set(e,D),(a._a&&a._a.runWithContext||f)(()=>a._e.run(()=>(l=Object(i.effectScope)()).run(t))));for(const t in M){var T,L=M[t];Object(i.isRef)(L)&&($=L,!Object(i.isRef)($)||!$.effect)||Object(i.isReactive)(L)?s||(_&&($=L,!v.has($))&&(Object(i.isRef)(L)?L.value=_[t]:g(L,_[t])),Object(i.set)(a.state.value[e],t,L)):"function"==typeof L&&(T=A(t,L),Object(i.set)(M,t,T),u.actions[t]=L)}if(Object.keys(M).forEach(e=>{Object(i.set)(D,e,M[e])}),Object.defineProperty(D,"$state",{get:()=>a.state.value[e],set:e=>{C(t=>{b(t,e)})}}),d){const e={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(t=>{Object.defineProperty(D,t,b({value:D[t]},e))})}return D._r=!0,a._p.forEach(e=>{var t;d?(t=l.run(()=>e({store:D,app:a._a,pinia:a,options:u})),Object.keys(t||{}).forEach(e=>D._customProperties.add(e)),b(D,t)):b(D,l.run(()=>e({store:D,app:a._a,pinia:a,options:u})))}),_&&s&&n.hydrate&&n.hydrate(D.$state,_),w=!0,j=!0,D}n=function(e,t,n){let r,a;function o(e,n){var o=!!Object(i.getCurrentInstance)();return o=((e=e||(o?Object(i.inject)(l,null):null))&&c(e),(e=s)._s.has(r)||y(r,t,a,e),e._s.get(r))}return r=e,a=void 0,o.$id=r,o}("menu",()=>({menu:Object(i.ref)([]),contextual:Object(i.ref)([])}));var w=Object.defineProperty,j=Object.getOwnPropertyDescriptor,O=(e,t,n,r)=>{for(var a,o=1<r?void 0:r?j(t,n):t,i=e.length-1;0<=i;i--)(a=e[i])&&(o=(r?a(t,n,o):a(o))||o);return r&&o&&w(t,n,o),o};class S extends t.MixedEnvironment{constructor(){super(...arguments),this.icons={team:o.iconShieldCrossLine,sign:o.iconMoonClearLine,crown:o.iconVipCrownLine,email:o.iconMailLine},this.basePath="commons.uol.com.br/monaco/conteudo/geral"}async dispatch(){var e=[];e.push((async()=>{try{var e=await this.getContextualMenuData();e.unshift({icon:this.icons.sign,label:"Seu signo",id:"sign"}),e.unshift({icon:this.icons.team,label:"Seu time",id:"team"}),this.store.contextual=e}catch(e){this.tools.log.error(e)}})()),e.push((async()=>{try{var e=await this.getMainMenuData("minimized");this.store.menu=e}catch(e){this.tools.log.error(e)}})()),await Promise.all(e)}getMainMenu(){return this.store.menu}async getMenuSubItems(e,t){const n=this.filter(t);try{const t=await this.getFile(e);var r,a,o=[],i=(t.vitrines||[]).filter(e=>e.id).map(e=>{var r;return{title:(null==(r=null==(r=t[e.id])?void 0:r.topo)?void 0:r.titulo)||(null==(r=(Array.isArray(t.submenu)?t.submenu:[]).find(t=>t.id===e.id))?void 0:r.titulo),link:null==(r=null==(r=t[e.id])?void 0:r.topo)?void 0:r.link,items:this.mapMenuItems((t[e.id+"-items"]||[]).filter(n)).concat(this.mapMenuItems((Array.isArray(t["segundo-nivel"])?t["segundo-nivel"]:[]).filter(t=>t.id===e.id))),group:!0===e.agrupar}}).filter(e=>e.title);let s=[];for([r,a]of Object.entries(i))s.push(a),a.group?Number(r)+1===i.length&&o.push(s):(o.push(s),s=[]);return{key:e,items:[[...this.mapMenuItems(t.submenu.filter(n)||[],!0)]].concat(o)}}catch(t){this.tools.log.error(t)}return null}mapMenuItems(e,t=!1){return e.map(e=>{var n={slug:this.stringService.toSlug(e.titulo),link:e.link,logo:e.selectImage||e.logo};return t?n.title=e.titulo:n.label=e.titulo,e.items&&(n.items=e.items),n})}filter(e){const t={expanded:"menu-expandido",minimized:"menu-minimizado"};return n=>(n.exibir||"").split(/[;,]/).map(e=>e.trim()).includes(t[e])}async getFile(e){try{return await this.tools.json.open(e.replace(/https?:\/\//,""))}catch(t){return t.message=`There was a problem getting the menu data file: ${e} - `+t.message,this.tools.log.error(t),Promise.reject(t)}}getContextualMenu(){return this.store.contextual}async getMenuTeams(){var e=[];const t=["Flamengo","Corinthians"];try{var n=await this.getFile("commons.uol.com.br/monaco/conteudo/geral/header/esporte.json");for(const r of Object.keys(n).filter(e=>/vitrine-\d+-items/.test(e)))if(Array.isArray(n[r])&&n[r].some(e=>t.includes(e.titulo))){for(const t of n[r])e.push({label:t.titulo,slug:this.stringService.toSlug(t.titulo),link:t.link});break}return Promise.resolve(e)}catch(n){return this.tools.log.error(n),Promise.resolve(e)}}async getMainMenuData(e){let t=[];var n=this.filter(e);try{var r=(await this.getFile(this.basePath+"/menu/ordenacao.json")).menu;const a=new Map((await Promise.allSettled(r.filter(n).filter(e=>e["commons-path"]).map(t=>this.getMenuSubItems(t["commons-path"],e)))).filter(({status:e})=>"fulfilled"===e).map(e=>{var t;return[null==(t=e.value)?void 0:t.key,e.value.items]}));t=this.mapMenuItems(r.filter(n).map(e=>(e.items=a.get(e["commons-path"])||[],e)))}catch(t){this.tools.log.error(t)}return t}async getContextualMenuData(){var e;let t=[];var n=this.tools.extend(!0,{station:{items:null},channel:{items:null}},null==(e=this.config.menu)?void 0:e.contextual);for(const e of["channel","station","portal"])if(n[e]&&Array.isArray(n[e].items)&&n[e].items.length){t=n[e].items;break}try{var r=await this.getFile("commons.uol.com.br/monaco/conteudo/jupiter/menu-contextual/data.json");const e=(null==r?void 0:r["menu-contextual-jupiter"])||{};t=Object.keys((null==r?void 0:r["menu-contextual-jupiter"])||{}).filter(e=>/item-\d+/.test(e)).map(t=>{var n;return{label:null==(n=null==e?void 0:e[t])?void 0:n.title,link:null==(n=null==e?void 0:e[t])?void 0:n.link}}).filter(({label:e,link:t})=>e&&t).splice(0,2)}catch(e){this.tools.log.error(e)}return t}}O([Object(t.Inject)(a.a)],S.prototype,"stringService",2),O([Object(t.Inject)(n)],S.prototype,"store",2)},3077:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class r extends n(4).BackEnvironment{}},3078:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class r extends n(4).BackEnvironment{}},3079:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));t=n(4);
/*!
 * Jupiter - Jupiter browser service
 * 2023 Fagner Janderson <fjsilva@uolinc.com>
 */var r=n(2913),a=n(2914),o=n(30),i=n(91);let s,c=0,l=0;class u extends t.FrontEnvironment{onScroll(){return s=s||Object(r.a)(window,"scroll").pipe(Object(a.a)(0),Object(o.a)(()=>{var e=window.pageYOffset||document.documentElement.scrollTop,t=e-c,n=(c=e<=0?0:e,window.pageXOffset||document.documentElement.scrollLeft),r=n-l;return l=n<=0?0:n,{y:{pos:e,direction:0<=t?"down":"up"},x:{pos:n,direction:0<=r?"right":"left"}}}),Object(i.a)())}}},3080:function(e,t,n){"use strict";n.d(t,"a",(function(){return R}));var r=n(62);t=n(4),n=n(49);const a={user:{impressionQuantity:0,newsQuantity:0},storageVar:"uol-user",persist:async()=>{var e=await a.get();a.updateViewsQuantity(e.newsQuantity,e.month),a.set(e)},init:async()=>{await a.whenAvailable("stcrpc"),await a.persist()},impression:()=>{if(!a.printGone)return a.user.impressionQuantity++,a.set(a.user),a.printGone=!0,a.user},updateViewsQuantity:(e,t)=>{a.user.month=(new Date).getMonth()+1,a.user.newsQuantity=!e||a.checkNewMonth(t)?1:e+1},checkNewMonth:e=>!e||e!==(new Date).getMonth()+1,get:()=>{const e=a.storageVar;return new Promise(t=>{window.stcrpc("pref",[e],e=>{if(e){var n,r=["impressionQuantity","newsQuantity","month"];for(n in e)a.user[r[n]]=parseInt(e[n])}t(a.user)})})},set:({impressionQuantity:e,newsQuantity:t,month:n})=>{var r=a.storageVar;try{window.stcrpc("pref",[r,null]),window.stcrpc("push",[r,e,t,n],()=>{})}catch(e){console.error("stcrpc error ",e)}Object.assign(window.universal_variable.aud,{impressionQuantity:e,newsQuantity:t})},whenAvailable:e=>new Promise(t=>{const n=()=>{window.setTimeout(()=>{window[e]&&window.stcReady?t(!0):n()},400)};n()})},o={unaccent(e){for(var t,n="",r=0,a=e.length;r<a;n+=-1<(t="ÀÁÂÃÄÅàáâãäåÒÓÔÕÕÖØòóôõöøÈÉÊËèéêëðÇçÐÌÍÎÏìíîïÙÚÛÜùúûüÑñŠšŸÿýŽž".indexOf(e.charAt(r)))?"AAAAAAaaaaaaOOOOOOOooooooEEEEeeeeeCcDIIIIiiiiUUUUuuuuNnSsYyyZz".charAt(t):e.charAt(r),r++);return n},toSlugPublicador(e){return this.unaccent(e).toLowerCase().replace(/[^a-z0-9 /&.+(-]+/g,"").replace(/\s+/g,"-").replace(/[&.+(]/g,"")}},i=()=>new Promise(e=>{var t,n=window.document.createElement("script"),[r]=(n.type="text/javascript",n.async=!0,n.src="//cdn.tinypass.com/api/tinypass.min.js",window.document.getElementsByTagName("script"));null!=(t=null==r?void 0:r.parentNode)&&t.insertBefore(n,r),n.onload=()=>e(!0)}),s=()=>{tp.experience.init()},c=e=>{tp.push(e)},l=(e,t)=>{c(["setCustomVariable",e,t])},u=e=>{fetch("https://n.comentarios.uol.com.br/ws/v5/user/login?event_code="+(e||"")).then(e=>e.json()).then(({code:e,error:t})=>{200!=e&&console.error(t)})},d={countClick(e){var t={category:(t=e.data?JSON.parse(e.data.replaceAll("'",'"')):e).label||"",pTemplate:t.component||"",label:t.reference||"",source:t.source||"",position:t.position||"",experienceId:t.experienceid||t.experienceId};(t=d.setComponent(t,"click")).action=e.url&&!["#","javascript:void(0)"].includes(e.url)?e.url:"clique",Object(r.metricOnClick)(t),e.url&&(window.location.href=e.url)},countPrint(e){var t,n=d.setComponent(e);t=e.containerSelector||".tp-modal",document.querySelector(t).setAttribute("data-audience-print",JSON.stringify(n))},countEvent(e){const t=d.setComponent(e);t.label=t.label.replace(/\-(2|8)0$/,""),t.sendAlways||(t.sampling=20,t.impression=1),e.containerSelector?Object(r.observe)(document.querySelector(e.containerSelector),()=>Object(r.metricOnView)(t)):window.setTimeout((function(){Object(r.metricOnView)(t)}),750)},setPrint(e){d.countEvent(e)},setComponent(e,t){var n,r=window.universal_variable.aud||{},o=window[e.experienceId]||{};t="click"!==t;const i={category:"paywall",label:"componente-visualizado",pTemplate:e.templateId};o.metricConcat&&t&&(n=r.newsletter,s=o.strToConcat,o.paywallType=s+"-"+n),o.sendAlways&&(i.sendAlways=!0),t&&(i.nonInteraction=!0,i.action="impressao"),["category","label","pTemplate","source","paywallType","action","label","abTest13","position"].forEach(t=>{e[t]&&(i[t]=e[t])});var s=Object.assign({},i,r,o);return s.porteiraConteudo2&&t&&a.impression(),s},setError(e,t){var{statusText:n,responseText:r,statusCode:a}=e,r={status:e.status,statusText:r||n||a||"Erro indefinido no request",compName:"piano"};window.ReportError&&window.ReportError({message:"Erro no autenticador de conta",stack:"Url service: "+e.responseURL||!1}),console.error("Heimdall error:",r)},experienceExecute({result:e}){for(const t of e.events)"setResponseVariable"===t.eventType&&d.responseVariable(t)},responseVariable({eventExecutionContext:e,eventParams:t}){e=e.experienceId;var n=t.responseVariables||{};if(window.universal_variable&&window.universal_variable.aud){var r=/(\[[^\]]+\])/g;for(const e in n){var a=n[e];r.test(a)&&(n[e]=a.replace(r,(function(e){var t=e.replace(/[\[\]]/g,"");return window.universal_variable.aud[t]?o.toSlugPublicador(window.universal_variable.aud[t]):e})))}}window[e]=n},whenAvailable:(e,t)=>{window.setTimeout((function(){window[e.experienceId]?t(e):d.whenAvailable(e,t)}),100)}},p=e=>{var t;e.params.trackingid&&(document.cookie=`p_trk_id=${e.params.trackingid};path=/;domain=.uol.com.br;`),d[e.eventName](e.params),e.params.finishDate&&!e.params.lead&&(t={finishDate:e.params.finishDate,eventCode:e.params.code,btnClicked:e.params.btnType},localStorage.setItem("gateEventData",JSON.stringify(t))),e.params.lead&&e.params.code&&(A(e.params.finishDate,e.params.code),u(e.params.code),$({offerId:"OFTLA210UN51",templateId:"OTMTF53QVHQZ",templateVariantId:"OTVUPJHJ0R765",displayMode:"inline",containerSelector:e.params.containerSelector||".porteira_piano_event"}),d.countPrint({templateId:e.params.templateId,paywallType:"investimentos-evento",containerSelector:e.params.containerSelector||".porteira_piano_event",action:"login-success"}))},m=e=>{d.experienceExecute(e),tp.setExcludedGAEvents({experienceExecute:!0,meterActive:!0,meterExpired:!0,showTemplate:!0,setResponseVariable:!0,beforeBrowserEvent:!0,startCheckout:!0,showOffer:!0,checkoutCustomEvent:!0,termSelected:!0,promoApplied:!0,promoInvalid:!0,submitPayment:!0,checkoutStateChange:!0,receiptDisplayed:!0,checkoutSuccess:!0,checkoutRestarted:!0,checkoutError:!0,checkoutClose:!0,loginRequired:!0,loginDisplayed:!0,registrationDisplayed:!0,loginSuccess:!0,registrationSuccess:!0,logout:!0})},h=e=>{},f=e=>{e&&"checkoutCompleted"==e.state&&window.location.reload()},g=()=>{},v=()=>{},b=()=>{},y=()=>{},w=()=>{},j=()=>!1,O=()=>{},S=()=>{},x=()=>{},_=e=>{d.whenAvailable(e,d.setPrint)},k=e=>{window.location.reload()},E=()=>{var e=JSON.parse(window.localStorage.getItem("UDR.DATA"));return e&&e.uolid?e.uolid:""},C="1137479910722123061",P=()=>{var e,t=document.cookie.split(";").filter(e=>e.includes("JS_SESS="));let n=!1;return t.length&&([e,t]=t[0].split("="),n="eos"!=t.toLowerCase()),n},A=(e,t)=>{var[e,n,r]=e.split("/");t="_pc_event_code="+t+";expires="+new Date(Date.UTC(r,n-1,e,23,59,59)).toUTCString()+";path=/;domain=.uol.com.br;";document.cookie=t},$=e=>{tp.offer.show(e)};class D{constructor(){this.authenticated=!1}async init(){try{var e=await fetch("https://contentpw.uol.com.br/rest/heimdall/person",{credentials:"include"});if(200!==e.status)throw new Error("HTTP ERROR: "+e.status);this.res=await e.json(),this.authenticated="success"===this.res.status}catch(e){console.error("Failed to request ",e)}}get authenticate(){return this.authenticated}get user(){var e;return(null==(e=null==(e=this.res)?void 0:e.data)?void 0:e.user)||{}}get userType(){return this.authenticate?this.isPaidSubscribe?"paid":"free":"logged_out"}get userEmail(){var e;return(null==(e=null==(e=null==(e=this.res)?void 0:e.data)?void 0:e.user)?void 0:e.login)||""}get userName(){var e=null==(e=null==(e=null==(e=this.res)?void 0:e.data)?void 0:e.user)?void 0:e.firstName,t=null==(t=null==(t=null==(t=this.res)?void 0:t.data)?void 0:t.user)?void 0:t.lastName;return e&&t?e+" "+t:""}get isPaidSubscribe(){var e=null==(e=null==(e=this.res)?void 0:e.data)?void 0:e.services;return!(!e||!Array.isArray(e))&&this.res.data.services.some(e=>"7-32"===e)}get services(){var e;return(null==(e=null==(e=this.res)?void 0:e.data)?void 0:e.services)||[]}}var M=Object.defineProperty,T=Object.getOwnPropertyDescriptor,L=(e,t,n,r)=>{for(var a,o=1<r?void 0:r?T(t,n):t,i=e.length-1;0<=i;i--)(a=e[i])&&(o=(r?a(t,n,o):a(o))||o);return r&&o&&M(t,n,o),o};class R extends t.FrontEnvironment{constructor(){super(...arguments),this.leads=[],this.gaPropertyDictionary={economia:"economia",noticias:"noticias",tab:"noticias",educacao:"noticias",eleicoes:"noticias",splash:"entretenimento",entretenimento:"entretenimento",tvefamosos:"entretenimento",carnaval:"entretenimento"}}init(){var e;(e=>{window.tp=window.tp||[];var t="addHandler",n=window.location.search.match(/pianoSandbox/);return[["setAid",n?"IXZ8EaO9su":"ivPmBDGgpu"],["setSandbox",!!n],["setCxenseSiteId",C],["setEndpoint","https://buy.tinypass.com/api/v3"],["setUseTinypassAccounts",!1],["setUsePianoIdUserProvider",!1],["setUsePianoIdLiteUserProvider",!0],[t,"experienceExecute",m],[t,"experienceExecutionFailed",h],[t,"checkoutComplete",g],[t,"checkoutClose",f],[t,"checkoutCustomEvent",v],[t,"checkoutCancel",b],[t,"checkoutError",y],[t,"checkoutSubmitPayment",w],[t,"loginRequired",j],[t,"loginSuccess",O],[t,"meterExpired",S],[t,"meterActive",x],[t,"showTemplate",_],[t,"customEvent",p],[t,"externalCheckoutComplete",k]].forEach(e=>c(e)),window.cX=window.cX||{},window.cX.callQueue=window.cX.callQueue||[],window.cX.callQueue.push(["invoke",async()=>{window.cX.setSiteId(C);try{var e=E();e&&window.cX.addExternalId({id:e,type:"tfh"})}catch(e){}window.cX.sendPageViewEvent()}]),c(["init",e]),{loadTinypass:i}})(this.default.bind(this)).loadTinypass().then(()=>{console.log("piano :: load :: constructor :: window.tp",window.tp)}),this.central=(null==(e=null==(e=this.getConfig())?void 0:e.central)?void 0:e.slug)||"","Urban Taste"===(null==(e=null==(e=this.getConfig())?void 0:e.central)?void 0:e.title)&&(this.central="urbantaste")}setRegisterLead(e){this.leads.push(e)}async executeRegisterLeads(){for(const e of this.leads)try{await e()}catch(e){console.error("Erro ao executar callback do Register Lead",e)}}removeDeprecatedCookies(){["CSASF","CAUBR01","UOL_ID"].forEach(e=>{document.cookie.includes(e)&&this.cookieService.removeCookie(e,{domain:".uol.com.br"})})}setGAValues(){if("object"==typeof(null==(r=window.universal_variable)?void 0:r.aud)){var e,t,n=window.universal_variable.aud,{author:r,publicationDate:a="",channel:o}=n,i=["tags","abTest3","firstView"];for(const r in n)i.includes(r)||"string"!=(t=typeof(e=n[r]))&&"boolean"!=t||l(r,e);var s=/(\d{2})\/(\d{2})\/(\d{4}) (\d{2}:\d{2}:\d{2})/;s.test(a)&&c(["setContentCreated",a.replace(s,"$3-$2-$1T$4-03:00")]),o&&c(["setContentSection",o]),r&&c(["setContentAuthor",r])}}async default(){var e=(window.document.cookie.split(";").map(e=>e.split("=")).find(([e=""])=>"_ga"===e.trim())[1]||"").replace(/^([^.]+\.){2}/,""),t=this.gaPropertyDictionary[this.central]||"estacoes";const n=new URLSearchParams(document.location.search);var r=n.has("uol_app"),a="true"===n.get("iap"),o=r?"app":"web",i="flash"===n.get("uol_app"),p=(r=r&&!i,window.newsletterModule||!1),m=window.bounce_active||!1;l("gaProperty",t),m&&l("bounce_active",!0),(r&&!i||i&&a)&&l("webview",!0),r&&a&&l("iap",!0),p&&l("newsletter-module",p),c(["setZone",o]),window.tp.enableGACrossDomainLinking(e),window.tp.setGAClientId(e),this.setGAValues();const h=null==(m=null==(t=window.universal_variable)?void 0:t.page)?void 0:m.tagsMap;(o=(null==(p=null==(i=window.universal_variable)?void 0:i.page)?void 0:p.tags)||[]).length&&(e=o.map(e=>h[e]+` [${e}]`),c(["setTags",e]),o.includes(81891))&&l("paywall",!0),document.querySelector(".porteira_piano_event")&&this.setGateEvent(),P()&&((t=window.location.search).includes("register")&&this.executeRegisterLeads(),t.includes("event_code"))&&u(n.get("event_code"));try{if(!P())throw"Cookie SESS inexistente";var f=new D;await f.init(),l("logged",!0),l("emailUser",f.userEmail),l("nameUser",f.userName),l("uolid",E()),f.isPaidSubscribe?l("uol-subscriber",!0):(c(["setExternalJWT",""]),l("socialLogin",!0))}catch(e){c(["setExternalJWT",""]),l("logged",!1),this.removeDeprecatedCookies();const{status:t,url:n}=e;t<=400||500<=t?(m=window.performance.getEntriesByType("resource").find(e=>e.name==n),d.setError(e,m)):401!==t&&410!==t||fetch("https://conta.uol.com.br/logout",{method:"DELETE",credentials:"include"})}if(r&&!a){let e=0;const t=()=>{e++,window.tp&&window.tp.customVariables&&window.tp.customVariables.device_app_appSlug?s():e<=50?setTimeout(t,100):(l("device_app_appSlug",n.get("uol_app")),s())};t()}else s()}async setGateEvent(){var e={offerId:"OFTLA210UN51",templateId:"OTMTF53QVHQZ",displayMode:"inline",containerSelector:".porteira_piano_event"},t={action:"impressao",label:"componente-visualizado"},n=P();document.cookie.includes("_pc_event_code")?(e.templateVariantId="OTV41J0VR3L11",t.action="confirmado-cookie"):n&&((n=this.localStorageService.getData("gateEventData"))?(n=JSON.parse(n),window.localStorage.removeItem("gateEventData"),e.templateVariantId="register"===n.btnClicked?"OTV6K9II7P44A":"OTVUPJHJ0R765",t.action="register"===n.btnClicked?"register-success":"login-success",A(n.finishDate,n.eventCode),u(n.eventCode)):e.templateVariantId="OTV8GTFJCPDVL"),$(e),d.countPrint({templateId:e.templateId,containerSelector:e.containerSelector,paywallType:"investimentos-evento",action:t.action,label:t.label})}}L([Object(t.Inject)(n.a)],R.prototype,"cookieService",2),L([Object(t.Inject)(n.b)],R.prototype,"localStorageService",2)},3081:function(e,t,n){"use strict";n.d(t,"a",(function(){return w}));var r,a=n(4),o=n(0);t=n.n(o),n=n(15);
/*!
 * pinia v2.1.7
 * (c) 2023 Eduardo San Martin Morote
 * @license MIT
 */
let i;t.a.util.warn;const s=e=>i=e,c=Symbol();function l(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}(t=r=r||{}).direct="direct",t.patchObject="patch object",t.patchFunction="patch function",t="undefined"!=typeof window;const u="undefined"!=typeof __VUE_PROD_DEVTOOLS__&&__VUE_PROD_DEVTOOLS__&&t,d=()=>{};function p(e,t,n,r=d){e.push(t);var a=()=>{var n=e.indexOf(t);-1<n&&(e.splice(n,1),r())};return!n&&Object(o.getCurrentScope)()&&Object(o.onScopeDispose)(a),a}function m(e,...t){e.slice().forEach(e=>{e(...t)})}const h=e=>e();function f(e,t){e instanceof Map&&t instanceof Map&&t.forEach((t,n)=>e.set(n,t)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const a in t){var n,r;t.hasOwnProperty(a)&&(n=t[a],l(r=e[a])&&l(n)&&e.hasOwnProperty(a)&&!Object(o.isRef)(n)&&!Object(o.isReactive)(n)?e[a]=f(r,n):e[a]=n)}return e}Symbol();const g=new WeakMap,v=Object.assign;function b(e,t,n={},a,i,c){let l;const b=v({actions:{}},n),y={deep:!0};let w,j,O,S=[],x=[];var _=a.state.value[e],k=(c||_||Object(o.set)(a.state.value,e,{}),Object(o.ref)({}));let E;function C(t){let n;w=j=!1,n="function"==typeof t?(t(a.state.value[e]),{type:r.patchFunction,storeId:e,events:O}):(f(a.state.value[e],t),{type:r.patchObject,payload:t,storeId:e,events:O});const i=E=Symbol();Object(o.nextTick)().then(()=>{E===i&&(w=!0)}),j=!0,m(S,n,a.state.value[e])}var P=c?function(){var e=n.state;const t=e?e():{};this.$patch(e=>{v(e,t)})}:d;function A(t,n){return function(){s(a);var r=Array.from(arguments);const o=[],i=[];let c;m(x,{args:r,name:t,store:D,after:function(e){o.push(e)},onError:function(e){i.push(e)}});try{c=n.apply(this&&this.$id===e?this:D,r)}catch(r){throw m(i,r),r}return c instanceof Promise?c.then(e=>(m(o,e),e)).catch(e=>(m(i,e),Promise.reject(e))):(m(o,c),c)}}var $;k=Object(o.markRaw)({actions:{},getters:{},state:[],hotState:k}),P={_p:a,$id:e,$onAction:p.bind(null,x),$patch:C,$reset:P,$subscribe(t,n={}){var i=p(S,t,n.detached,()=>s());const s=l.run(()=>Object(o.watch)(()=>a.state.value[e],a=>{("sync"===n.flush?j:w)&&t({storeId:e,type:r.direct,events:O},a)},v({},y,n)));return i},$dispose:function(){l.stop(),S=[],x=[],a._s.delete(e)},_r:!1};const D=Object(o.reactive)(u?v({_hmrPayload:k,_customProperties:Object(o.markRaw)(new Set)},P):P),M=(a._s.set(e,D),(a._a&&a._a.runWithContext||h)(()=>a._e.run(()=>(l=Object(o.effectScope)()).run(t))));for(const t in M){var T,L=M[t];Object(o.isRef)(L)&&($=L,!Object(o.isRef)($)||!$.effect)||Object(o.isReactive)(L)?c||(_&&($=L,!g.has($))&&(Object(o.isRef)(L)?L.value=_[t]:f(L,_[t])),Object(o.set)(a.state.value[e],t,L)):"function"==typeof L&&(T=A(t,L),Object(o.set)(M,t,T),b.actions[t]=L)}if(Object.keys(M).forEach(e=>{Object(o.set)(D,e,M[e])}),Object.defineProperty(D,"$state",{get:()=>a.state.value[e],set:e=>{C(t=>{v(t,e)})}}),u){const e={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(t=>{Object.defineProperty(D,t,v({value:D[t]},e))})}return D._r=!0,a._p.forEach(e=>{var t;u?(t=l.run(()=>e({store:D,app:a._a,pinia:a,options:b})),Object.keys(t||{}).forEach(e=>D._customProperties.add(e)),v(D,t)):v(D,l.run(()=>e({store:D,app:a._a,pinia:a,options:b})))}),_&&c&&n.hydrate&&n.hydrate(D.$state,_),w=!0,j=!0,D}const y={default:{splash:n.gb,universa:n.Fb,"viva-bem":n.Pb,ecoa:n.n,nossa:n.N,tilt:n.vb,tab:n.ob,"guia-de-compras":n.A,"canal-uol":n.j},prime:{splash:n.hb,universa:n.Gb,"viva-bem":n.Qb,ecoa:n.o,nossa:n.O,tilt:n.wb,tab:n.pb,"guia-de-compras":n.B,"canal-uol":n.k},toca:{splash:n.ib,universa:n.Hb,"viva-bem":n.Rb,ecoa:n.p,nossa:n.P,tilt:n.xb,tab:n.qb,"guia-de-compras":n.C,"canal-uol":n.l}},w=function(e,t,n){let r,a;function l(e,n){var l=!!Object(o.getCurrentInstance)();return l=((e=e||(l?Object(o.inject)(c,null):null))&&s(e),(e=i)._s.has(r)||b(r,t,a,e),e._s.get(r))}return r=e,a=void 0,l.$id=r,l}("footer",()=>{const e=Object(a.useConfigStore)().state,t={sign:Object(o.ref)({}),phone:Object(o.ref)({number:{}}),app:Object(o.ref)({}),credits:Object(o.ref)({}),socialMedia:Object(o.ref)([]),columns:Object(o.ref)([]),brands:Object(o.ref)([]),socialMediaLabel:Object(o.ref)(""),headerActive:Object(o.ref)(!0),bodyActive:Object(o.ref)(!0),footerActive:Object(o.ref)(!0)},n=e=>{for(var[n,r]of Object.entries(e))n=n.replace(/-(\w)/g,(e,t)=>t.toUpperCase()),t[n]&&(t[n].value=r)};return{...t,setData:n,dispatch:async function(){var t=function(){var t;const n=e.footer||{};return{...n,socialMedia:Array.isArray(n.socialMedia)?null==(t=n.socialMedia)?void 0:t.filter((e,t)=>n.socialMedia.findIndex(t=>t.mediaName===e.mediaName)===t):[]}}(),r=await async function(){var{data:e,config:t}=await async function(){var e=w().$tools;try{return await(null==e?void 0:e.json.open("commons.uol.com.br/monaco/export/vueland.uol.com.br/vueland/modules/footer.json"))}catch(t){throw t.message="There was a problem getting footer data. "+t.message,null!=e&&e.log.error(t),t}}()||{};return{columns:function(e){e=Array.isArray(e)?e:[];var t,n=[],r=({title:e,link:t})=>({label:e,link:t});for(const o of e){var a={title:r(o),items:[]};for(const e of null==(t=o.items)?void 0:t.values())e.length&&a.items.push(e.map(r));n.push(a)}return n}(null==e?void 0:e.footerCollection),brands:Array.isArray(null==t?void 0:t.brands)?null==t?void 0:t.brands:[]}}();const a=y[e.color||""]||y.default;n({...t,...r,brands:null==(r=null==(t=null==r?void 0:r.brands)?void 0:t.filter(({slug:e})=>Object.hasOwnProperty.call(a,e)))?void 0:r.map(({slug:e,url:t})=>({name:e,link:t,image:a[e]}))})}}})},3082:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));t=n(93);var r=n(4),a=n(18),o=n.n(a);const i=e=>`\nPromise.all([\n  caches.delete('${e}[SHELL]'),\n  caches.delete('${e}[ASSETS][FONT]'),\n  caches.delete('${e}[ASSETS][CSS]'),\n  caches.delete('${e}[ASSETS][SVG]'),\n  caches.delete('${e}[ASSETS][JS]'),\n  caches.delete('${e}[SERVICES]')\n]).catch(err => {});\n`;n=Object.defineProperty,a=Object.getOwnPropertyDescriptor;class s extends r.MixedEnvironment{constructor(){super(...arguments),this.cachePrefix="[VUELAND:v1]"}init(e){var t,n,r,a,i,s,c,l,u;this.getState("page",{prop:"pwa"})||(({loadedConfig:t,central:{title:n},portal:{title:r},pwa:a={}}=this.getConfig()||{}),({fromHome:i,uri:u,domain:s}=this.tools.request),c=i?(u.split("/")[1]||"").split("?")[0]:"",u="/"+(i?u.split("/")[1]:""),u=(a.manifest||{}).scope||u,l=(a||{}).clean,u={pathname:u,domain:s,link:"https://"+s+(a.start_url_pathname||u),config:t.replace(/\.json/,""),debug:void 0!==this.tools.request.getParams("pwaDebug"),clean:l,title:((a||{}).manifest||{}).title,centralSlug:this.stringService.toSlug(((a||{}).manifest||{})["icon-slug"]||n),portal:r,backgroundColor:"#ffffff",themeColor:"#d6001e",cachePrefix:this.cachePrefix,name:i?c:s.split(".")[0],shell:!!a.shell,revision:o()().format("YYYYMMDDHH")+""+15*((o()().minute()+7.5)/15|0)%60,forceCleanCache:null==e?void 0:e.forceCleanCache},this.setState("page","pwa",u)),null!=e&&e.loadMetatags&&this.addMetatags()}get data(){return this.getState("page",{prop:"pwa"})}register(){if("serviceWorker"in navigator){const e=this.data;window.addEventListener("load",(function(){e.clean&&navigator.serviceWorker.getRegistrations().then((function(t){for(const n of t)/https?:\/\/www\.uol\.com\.br\/?$/.test(n.scope)||n.scope!=="https://"+e.domain+e.pathname||(n.unregister(),console.log("[VUELAND-SW] Registration canceled successfully"))})),navigator.serviceWorker.register(e.pathname+"?loadComponent=JupiterPwaSw&api=true&configPath="+e.config+(e.debug?"&pwaDebug=true":""),{scope:e.pathname}).then((function(){console.log("[VUELAND-SW] Successfully registered")})).catch((function(e){console.error("[VUELAND-SW] Registration failed: ",e)}))}))}}getSwTemplate(){return(e=this.data).forceCleanCache?"// This snippet is inserted only in development mode \n"+i(e.cachePrefix):`/**\n * SW - VUELAND\n */\nimportScripts('https://storage.googleapis.com/workbox-cdn/releases/6.1.2/workbox-sw.js');\n\nworkbox.setConfig({debug:${e.debug?"true":"false"}});\nworkbox.loadModule('workbox-cacheable-response');\n\nself.addEventListener('install', (event) => {\n  self.skipWaiting();\n});\n\nconst cachePrefix = '${e.cachePrefix}';\nconst offlineLatestUrl = '${e.pathname}/?loadComponent=JupiterPwaSummaryWrapper&configPath=pwa/offline/${e.name}';\n\nself.AreaStorage = self.AreaStorage || [];\n\nself.AreaStorage.push({\n  config: {\n    cacheName: \`\${cachePrefix}[ASSETS][FONT]\`,\n    strategy: 'CacheFirst',\n    cacheExpiration: {\n      maxEntries: 30,\n      maxAgeSeconds: 2592000\n    }\n  },\n  cache: {\n    precache: [],\n    assets: [{\n      url: /https:\\/\\/stc.uol.com\\/c\\/webfont\\/projeto-grafico\\/uollogo\\/.*$/\n    }, {\n      url: /https:\\/\\/stc.uol.com\\/c\\/webfont\\/projeto-grafico\\/uol-font\\/.*$/\n    }, {\n      url: /https:\\/\\/stc.uol.com\\/c\\/webfont\\/projeto-grafico\\/uol-icones-e-setas\\/.*$/\n    }, {\n      url: /https:\\/\\/stc.uol.com\\/c\\/webfont\\/projeto-grafico\\/v2\\/.*$/\n    }]\n  }\n});\n\nself.AreaStorage.push({\n  config: {\n    cacheName: \`\${cachePrefix}[ASSETS][CSS]\`,\n    strategy: 'StaleWhileRevalidate',\n    plugins: {\n      expiration: {\n        maxEntries: 100,\n        maxAgeSeconds: 518400,\n        purgeOnQuotaError: true\n      }\n    }\n  },\n  cache: {\n    precache: [],\n    assets: [\n      {url: new RegExp('^https?:\\/\\/c.jsuol.com.br\\/assets\\/(.*)loadComponent\\=Media&contentType\\=css&scope\\=assets')}\n    ]\n  }\n});\n\nself.AreaStorage.push({\n  config: {\n    cacheName: \`\${cachePrefix}[ASSETS][JS]\`,\n    strategy: 'StaleWhileRevalidate',\n    plugins: {\n      expiration: {\n        maxEntries: 80,\n        maxAgeSeconds: 518400,\n        purgeOnQuotaError: true\n      }\n    }\n  },\n  cache: {\n    precache: [],\n    assets: [\n      {url: new RegExp('^https?:\\/\\/c.jsuol.com.br\\/assets\\/(.*)loadComponent\\=Media&contentType\\=js&scope\\=assets')},\n    ]\n  }\n});\n\nself.AreaStorage.push({\n  config: {\n    cacheName: \`\${cachePrefix}[ASSETS][SVG]\`,\n    strategy: 'CacheFirst',\n    plugins: {\n      expiration: {\n        maxEntries: 10,\n        maxAgeSeconds: 518400,\n        purgeOnQuotaError: true\n      }\n    }\n  },\n  cache: {\n    precache: [],\n    assets: [{url: new RegExp('^https?:\\/\\/c.jsuol.com.br\\/assets\\/(.*)&loadSvgs\\=')}]\n  }\n});\n\nself.AreaStorage.push({\n  config: {\n    cacheName: \`\${cachePrefix}[SERVICES]\`,\n    strategy: 'StaleWhileRevalidate',\n    plugins: {\n      expiration: {\n        maxEntries: 10,\n        maxAgeSeconds: 604800,\n        purgeOnQuotaError: true\n      }\n    }\n  },\n  cache: {\n    precache: [],\n    assets: [{url: new RegExp('^https?:\\/\\/c.jsuol.com.br\\/assets\\/(.*)loadComponent\\=JupiterTeamShowcase')}]\n  }\n});\n\nself.AreaStorage.push({\n  config: {\n    cacheName: \`\${cachePrefix}[ASSETS][IMAGES]\`,\n    strategy: 'CacheFirst',\n    cacheExpiration: {\n      maxEntries: 30,\n      maxAgeSeconds: 2592000\n    }\n  },\n  cache: {\n    precache: [],\n    assets: [{\n      url: new RegExp('^https?://(conteudo\\.)?imguol\\.com(\\.br)?\\/c\\/geral\\/3d\\/2021\\/05\\/25\\/placeholder-image')\n    }]\n  }\n});\n\n${e.shell?`\nworkbox.precaching.precacheAndRoute([\n  {\n    url: offlineLatestUrl,\n    revision: "${e.revision}"\n  }\n], {offlinePage: offlineLatestUrl});\n\nconst cacheHandler = new workbox.strategies.NetworkFirst({\n  cacheName: \`\${cachePrefix}[SHELL]\`,\n  plugins: [\n    new workbox.expiration.ExpirationPlugin({\n      maxEntries: 50,\n      maxAgeSeconds: 1\n    })\n  ]\n});\n\nworkbox.routing.registerRoute(getHomePathStrategy(), args => {\n  return cacheHandler.handle(args).then(response => {\n    if(!response) {\n      return caches.match(offlineLatestUrl);\n    }\n    return response;\n  });\n});\n`:""}\n\n/**\n * Estratégia padrão para o cache.\n * https://developers.google.com/web/tools/workbox/reference-docs/v4/workbox.strategies\n *\n * Valores permitidos:\n * - CacheFirst\n * - CacheOnly\n * - NetworkFirst\n * - NetworkOnly\n * - StaleWhileRevalidate\n */\nconst DEFAULT_STRATEGY = 'StaleWhileRevalidate';\n\n/**\n* Recebe um objeto de configuração de cache e retorna a classe Plugin do workbox,\n* configurada conforme a \`cfg\` recebida.\n*\n* @param {Object} cfg\n* @returns workbox.Plugin\n*/\nconst getPluginClass = (cfg = {}) => {\n  const plugins = [];\n  for(const plugin of Object.keys(cfg)) {\n    switch(plugin) {\n      case 'expiration':\n      plugins.push(new workbox.expiration.ExpirationPlugin(Object.assign({}, cfg[plugin])));\n      break;\n    }\n  }\n  return plugins;\n};\n\nfor(const area of self.AreaStorage) {\n  const {\n    cache = undefined,\n    config = undefined,\n  } = area;\n\n  if(config === undefined) {\n    console.error(\`sw: object 'config' not defined\`);\n    continue;\n  }\n\n  if(cache === undefined) {\n    console.error(\`sw: object 'cache' not defined\`);\n    continue;\n  }\n\n  // valida se a estratégia é válida\n  if(workbox.strategies[config.strategy] === undefined) {\n    console.error(\`sw: strategy \${config.strategy} is not a valida value\`);\n    continue;\n  }\n\n  if(cache.precache instanceof Array === true && /([OFFLINE])$/.test(config.cacheName) === true) {\n    workbox.precaching.precacheAndRoute(cache.precache, {\n      offlinePage: offlineLatestUrl\n    });\n  }\n\n  const plugins = getPluginClass(config.plugins);\n\n  // https://stackoverflow.com/questions/39109789/what-limitations-apply-to-opaque-responses\n  plugins.push(new workbox.cacheableResponse.CacheableResponsePlugin({\n    statuses: [200],\n  }));\n\n  for(const asset of cache.assets) {\n    workbox.routing.registerRoute(\n      asset.url,\n      new workbox.strategies[config.strategy || DEFAULT_STRATEGY]({\n        cacheName: config.cacheName,\n        plugins\n      })\n    );\n  }\n}\n\n/**\n* Define a RegExp para match da url de home que será cacheada\n*\n* @returns RegExp\n*/\nfunction getHomePathStrategy() {\n  const {host, pathname, href} = location;\n  if(host === 'www.uol.com.br') {\n    return new RegExp(\`^https?://www.uol.com.br/\${pathname.replace(/^\\//,'')}/?$\`)\n  }\n  const match = href.match(/^https?:\\/\\/([^www].*).uol.com.br/);\n  return new RegExp(\`^https?:\\/\\/\${match[1]}.uol.com.br\\/?$\`);\n}\n\n// remove cache antigo\n`+i(e.cachePrefix);var e}getManifest(){return JSON.stringify({"//":"It is the same for all projects, this is not your project's sender ID",gcm_sender_id:"103953800507",name:this.data.title,short_name:this.data.title,icons:[{src:`https://conteudo.imguol.com.br/pwa/icons/${this.data.centralSlug}/${this.data.centralSlug}-36.png`,sizes:"36x36",type:"image/png",density:.75,purpose:"any maskable"},{src:`https://conteudo.imguol.com.br/pwa/icons/${this.data.centralSlug}/${this.data.centralSlug}-48.png`,sizes:"48x48",type:"image/png",density:1,purpose:"any maskable"},{src:`https://conteudo.imguol.com.br/pwa/icons/${this.data.centralSlug}/${this.data.centralSlug}-72.png`,sizes:"72x72",type:"image/png",density:1.5,purpose:"any maskable"},{src:`https://conteudo.imguol.com.br/pwa/icons/${this.data.centralSlug}/${this.data.centralSlug}-96.png`,sizes:"96x96",type:"image/png",density:2,purpose:"any maskable"},{src:`https://conteudo.imguol.com.br/pwa/icons/${this.data.centralSlug}/${this.data.centralSlug}-144.png`,sizes:"144x144",type:"image/png",density:3,purpose:"any maskable"},{src:`https://conteudo.imguol.com.br/pwa/icons/${this.data.centralSlug}/${this.data.centralSlug}-192.png`,sizes:"192x192",type:"image/png",density:4,purpose:"any maskable"},{src:`https://conteudo.imguol.com.br/pwa/icons/${this.data.centralSlug}/${this.data.centralSlug}-512.png`,sizes:"512x512",type:"image/png",purpose:"any maskable"}],start_url:this.data.link+"?utm_source=pwa&utm_medium=pwa&utm_campaign="+this.data.centralSlug,scope:this.data.pathname,display:"standalone",background_color:this.data.backgroundColor,theme_color:this.data.themeColor})}addMetatags(){this.tools.appendResource().before([{tag:"link",attrs:[{key:"rel",value:"manifest"},{key:"href",value:this.data.link+"?loadComponent=JupiterPwaManifest&api=true&configPath="+this.data.config}],priority:1},{tag:"meta",attrs:[{key:"name",value:"theme-color"},{key:"content",value:"#ffffff"}],priority:1},{tag:"link",attrs:[{key:"rel",value:"icon"},{key:"href",value:`https://conteudo.imguol.com.br/pwa/icons/${this.data.centralSlug}/${this.data.centralSlug}-192.png`},{key:"sizes",value:"192x192"}],priority:1},{tag:"link",attrs:[{key:"rel",value:"apple-touch-icon"},{key:"href",value:`https://conteudo.imguol.com.br/pwa/icons/${this.data.centralSlug}/${this.data.centralSlug}-192.png`}],priority:1},{tag:"link",attrs:[{key:"name",value:"msapplication-square310x310logo"},{key:"content",value:`https://conteudo.imguol.com.br/pwa/icons/${this.data.centralSlug}/${this.data.centralSlug}-512.png`}],priority:1}])}}for(var c,l=[Object(r.Inject)(t.a)],u=s.prototype,d="stringService",p=void 0,m=l.length-1;0<=m;m--)(c=l[m])&&(p=c(u,d,p)||p);p&&n(u,d,p)},3084:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class r extends n(4).BackEnvironment{}},3085:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));class r extends n(4).BackEnvironment{}},3088:function(e,t,n){n=n(3059)(),e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},49:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r})),t=n(4);class r extends t.FrontEnvironmentTool{setData(e,t){try{localStorage.setItem(e,JSON.stringify(t))}catch(t){console.error(`Error setting data to localStorage with key "${e}": `+t),console.error(t)}}setDataProp(e,t,n){try{var r=this.getData(e)||{};r[t]=n,this.setData(e,r)}catch(n){console.error(`Error setting data property "${t}" to localStorage with key "${e}": `+n),console.error(n)}}getData(e){try{var t=localStorage.getItem(e);return t?JSON.parse(t):null}catch(t){return console.error(`Error getting data from localStorage with key "${e}": `+t),console.error(t),null}}getDataKey(e,t){try{var n=this.getData(e);return n&&void 0!==n[t]?n[t]:null}catch(n){return console.error(`Error getting data key "${t}" from localStorage with key "${e}": `+n),console.error(n),null}}}t.FrontEnvironmentTool;class a extends t.FrontEnvironmentTool{getCookie(e){return(e=document.cookie.match(new RegExp(`(^| )${e}=([^;]+)`)))?e[2]:void 0}getAllCookies(){const e={};return document.cookie.split(";").forEach(t=>{var[t,n]=t.split("=").map(e=>e.trim());e[t]=n}),e}setCookie(e,t,n){let r=encodeURIComponent(e)+"="+encodeURIComponent(t);n&&(n.expires&&(n.expires instanceof Date?r+="; expires="+n.expires.toUTCString():((e=new Date).setTime(e.getTime()+24*n.expires*60*60*1e3),r+="; expires="+e.toUTCString())),n.path&&(r+="; path="+n.path),n.domain&&(r+="; domain="+n.domain),n.secure)&&(r+="; secure"),document.cookie=r}removeCookie(e,t){this.setCookie(e,"",{expires:-1,...t})}}},74:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return D})),n.d(t,"b",(function(){return O})),n.d(t,"c",(function(){return $})),n.d(t,"d",(function(){return L})),n.d(t,"e",(function(){return j}));var r=n(0),a=n(21),o=n(4),i=n(2894),s=n(18),c=n.n(s);class l extends o.MixedEnvironment{mapItem(e){return{title:e.titulo,url:e.link,image:"[object Object]"===Object.prototype.toString.call(e.imagem)?{...Object.keys(e.imagem||{}).filter(e=>["src","width","height"].includes(e)).reduce((t,n)=>{var r;return t[n]="src"===n?this.replaceImageSrc(null==(r=e.imagem)?void 0:r[n]):null==(r=e.imagem)?void 0:r[n],t},{}),srcSet:[{media:"(min-width: 320px)",sources:["image/webp","image/jpeg"].map(t=>{var n;return{type:t,src:this.replaceImageSrc(null==(n=e.imagem)?void 0:n.src)+("image/webp"===t?".webp":"")}})}]}:null}}replaceImageSrc(e){return e?e.replace(/https?:\/\/imguol.com/,"https://conteudo.imguol.com.br"):""}}class u extends l{getRelated({id:e}){return new Promise(t=>{let n=0;const r=setInterval(()=>{if(!window.cX)return 3<n?(clearInterval(r),t([])):void(n+=1);clearInterval(r),window.cX.CCE.run({widgetId:e},void 0,e=>{e=null==(e=e.response.items)?void 0:e.map(({title:e,url:t,dominantimage:n})=>this.mapItem({titulo:e,link:t,imagem:{src:n}})),t(e)})},1e3)})}}class d extends l{getRelated(e){return Promise.resolve(["chamada1","chamada2","chamada3"].filter(t=>e[t]&&e[t].titulo&&e[t].link).map(t=>this.mapItem(e[t])))}}class p extends l{async getRelated(e){return e=(await(await fetch("https://recommendations.chartbeat.net/publishing/recommendations/v2/related?"+this.getParams(e))).json()).data,Array.isArray(e)?e.map(e=>this.mapItem({titulo:e.title,link:this.parsePath(e.path)})):[]}getParams(e){return Object.entries(e).map(([e,t])=>e+"="+t).join("&")}parsePath(e){return e.replace(/^uol\.com\.br/,"www.uol.com.br").replace(/^(?!https:\/\/)(\w+\.)?uol\.com\.br/,"https://$1uol.com.br")}}s=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;class h extends l{async getRelated(e,t){return null==(e=null==(e=null==(e=await this.newsRepository.find({size:4,...e||{},fields:["titulo","imagem","url-uol"]}))?void 0:e.docs)?void 0:e.filter(e=>e["url-uol"]!==t))?void 0:e.map(e=>this.mapItem({titulo:e.titulo,link:e["url-uol"],imagem:{src:e.imagem}}))}}for(var f,g=[Object(o.Inject)(i.b)],v=h.prototype,b="newsRepository",y=void 0,w=g.length-1;0<=w;w--)(f=g[w])&&(y=f(v,b,y)||y);y&&s(v,b,y);const j=Object(a.defineStore)("page",()=>{const e=Object(r.ref)({collection:[],others:[]});var t=Object(r.ref)({}),n=Object(r.ref)(""),a=Object(r.ref)(""),i=Object(r.ref)(""),s=Object(r.ref)(""),c=Object(r.ref)({name:"",slug:""}),l=Object(r.ref)({name:"",slug:""}),m=Object(r.ref)({name:"",slug:""}),f=Object(r.ref)({name:"",slug:""}),g=Object(r.ref)(!1),v=Object(r.ref)(!1),b=Object(r.ref)(),y=Object(r.ref)();const w=Object(r.ref)("news");var j=Object(r.ref)(),O=Object(r.ref)(""),S=Object(r.ref)(),x=Object(r.ref)(!1),_=Object(r.ref)(!0),k=Object(r.ref)(""),E=Object(r.ref)(""),C=Object(r.ref)({days:0,months:0,message:""}),P=Object(r.ref)(!0),A=Object(r.ref)(),$=Object(r.ref)(),D=Object(r.ref)(),M=Object(r.ref)({}),T=Object(r.ref)([]),L=Object(r.ref)({}),R=Object(r.ref)([]),I=Object(r.ref)({}),N=Object(r.ref)({});const V=Object(r.ref)([]);var U=Object(r.ref)(),F=Object(r.ref)(),H=Object(r.ref)(),Y=Object(r.ref)([]),z=Object(r.ref)();const q=Object(r.computed)(()=>Object.values(e.value).flat());var B=Object(r.computed)(()=>{switch(w.value){case"column":return"news-colunista";case"poll":return"pesquisa-enquete";case"news":return"news-noticia";case"live":return"live-ao-vivo";default:return w.value}}),G=Object(r.computed)(()=>J(82929));function J(e){return q.value.includes(e)}return Object(o.useDisposable)({id:n,link:a,title:i,description:s,station:c,channel:l,portal:m,hat:f,showAuthors:v,hideData:g,credits:b,contentType:y,mediaType:w,place:j,created:O,updated:S,showUpdated:x,age:C,adultContent:P,recommendation:A,resumeByIa:$,alerts:M,authors:T,collection:I,column:N,comments:z,featuredEmbed:D,erratas:Y,featuredImage:U,kicker:L,related:V,seo:H,shareImage:F,shareNetworks:R,tags:e,tagsList:q,tagsMap:t,template:B,showAds:_,gameId:k,getRelatedLinks:async function(e="editorial",t={}){var n=Object(o.useGeneralStore)(),r=Object(o.useRequestStore)();n={piano:n.injectService(u),editorial:n.injectService(d),chartbeat:n.injectService(p),montecarlo:n.injectService(h)};return["piano","chartbeat","montecarlo"].includes(e)?o.isServerRendering?"montecarlo"===e?(V.value=await n[e].getRelated({...t,path:r.$helpers.getLink()}),V.value):[]:"montecarlo"===e?V.value:await n[e].getRelated({...t,path:r.$helpers.getLink()}):V.value},hasEveryTag:function(...e){return e.flat().every(e=>q.value.includes(e))},hasSomeTag:function(...e){return e.flat().some(e=>q.value.includes(e))},hasTag:J,isPrime:G,summary:E},["authorTags","authorText"])}),O=Object(a.defineStore)("news",()=>({contentChunks:Object(r.ref)(),charsCount:Object(r.ref)(0),chunksCount:Object(r.ref)(0),groupsCount:Object(r.ref)(0)}));var S,x,_,k,E,C,P,A;S={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},x=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,_={},k=function(e){return(e=+e)+(68<e?1900:2e3)},C=function(e){return(e=_[e])&&(e.indexOf?e:e.s.concat(e.f))},P=function(e,t){var n,r=_.meridiem;if(r){for(var a=1;a<=24;a+=1)if(-1<e.indexOf(r(a,0,t))){n=12<a;break}}else n=e===(t?"pm":"PM");return n},A={A:[i=/\d*[^-_:/,()\s\d]+/,function(e){this.afternoon=P(e,!1)}],a:[i,function(e){this.afternoon=P(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[m=/\d\d/,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[s=/\d\d?/,(E=function(e){return function(t){this[e]=+t}})("seconds")],ss:[s,E("seconds")],m:[s,E("minutes")],mm:[s,E("minutes")],H:[s,E("hours")],h:[s,E("hours")],HH:[s,E("hours")],hh:[s,E("hours")],D:[s,E("day")],DD:[m,E("day")],Do:[i,function(e){var t=_.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],M:[s,E("month")],MM:[m,E("month")],MMM:[i,function(e){var t=C("months");if((t=(C("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1)<1)throw new Error;this.month=t%12||t}],MMMM:[i,function(e){if((e=C("months").indexOf(e)+1)<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,E("year")],YY:[m,function(e){this.year=k(e)}],YYYY:[/\d{4}/,E("year")],Z:s=[/[+-]\d\d:?(\d\d)?|Z/,function(e){var t;(this.zone||(this.zone={})).offset=e&&"Z"!==e&&0!==(t=60*(e=e.match(/([+-]|\d\d)/g))[1]+(+e[2]||0))?"+"===e[0]?-t:t:0}],ZZ:s},c.a.extend(function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}((function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(k=e.parseTwoDigitYear);var r=(e=t.prototype).parse;e.parse=function(e){var t=e.date,a=e.utc,o=e.args,i=(this.$u=a,o[1]);if("string"==typeof i){var s=!0===o[2],c=!0===o[3],l=s||c,u=o[2];c&&(u=o[2]),_=this.$locale(),!s&&u&&(_=n.Ls[u]),this.$d=function(e,t,n){try{var r,a,o,i,s,c,l,u,d,p,m,h,f,g,v,b,y;return-1<["x","X"].indexOf(t)?new Date(("X"===t?1e3:1)*e):(a=(r=function(e){var t,n;t=e,n=_&&_.formats;for(var r=(e=t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,t,r){var a=r&&r.toUpperCase();return t||n[r]||S[r]||n[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(x),a=r.length,o=0;o<a;o+=1){var i=r[o],s=(c=A[i])&&c[0],c=c&&c[1];r[o]=c?{regex:s,parser:c}:i.replace(/^\[|\]$/g,"")}return function(e){for(var t,n,o,i={},s=0,c=0;s<a;s+=1){var l,u,d=r[s];"string"==typeof d?c+=d.length:(u=d.regex,d=d.parser,l=e.slice(c),u=u.exec(l)[0],d.call(i,u),e=e.replace(u,""))}return void 0!==(o=(t=i).afternoon)&&(n=t.hours,o?n<12&&(t.hours+=12):12===n&&(t.hours=0),delete t.afternoon),i}}(t)(e)).year,o=r.month,i=r.day,s=r.hours,c=r.minutes,l=r.seconds,u=r.milliseconds,d=r.zone,p=new Date,m=i||(a||o?1:p.getDate()),h=a||p.getFullYear(),f=0,a&&!o||(f=0<o?o-1:p.getMonth()),g=s||0,v=c||0,b=l||0,y=u||0,d?new Date(Date.UTC(h,f,m,g,v,b,y+60*d.offset*1e3)):n?new Date(Date.UTC(h,f,m,g,v,b,y)):new Date(h,f,m,g,v,b,y))}catch(e){return new Date("")}}(t,i,a),this.init(),u&&!0!==u&&(this.$L=this.locale(u).$L),l&&t!=this.format(i)&&(this.$d=new Date("")),_={}}else if(i instanceof Array)for(var d=i.length,p=1;p<=d;p+=1){o[1]=i[p-1];var m=n.apply(this,o);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}p===d&&(this.$d=new Date(""))}else r.call(this,e)}})));const $=Object(a.defineStore)("live",()=>{const e=j(),t=new Map,n=new Map,a=Object(r.ref)([]),i=Object(r.ref)(null);var s=Object(r.ref)("rtlive.uol.com");const l=Object(r.ref)(),u=Object(r.ref)("");var d=Object(r.ref)(""),p=Object(r.ref)("");const m=Object(r.ref)();var h=Object(r.ref)("");const f=Object(r.ref)(10),g=Object(r.ref)(!1),v=Object(r.ref)([]);var b=Object(r.computed)(()=>a.value.find(e=>e.id===u.value));let y=[];function w(e,t){var n=c()();e=c()(e,"DD/MM/YYYY HH:mm");return t||n.isAfter(e)?"":"Ao vivo"}function O(e,t){return e.id===u.value?-2:t.date>e.date?1:t.date<e.date?-1:0}function S(e){if(!e||e.disabled)l.value=void 0;else{var t=(null==e?void 0:e.url)||"";if(!e||null!=e&&e.youtubeId)l.value=e;else{let r=/\d{8}/;t&&t.includes("view/")&&(r=/\/(\d+)/g);var n=null==(n=t.match(r))?void 0:n[0];l.value={...l.value,...e,mediaId:(null==n?void 0:n.replace("/",""))||t}}}}return{socketHost:s,timeline:a,next:i,video:l,fixedPost:u,fixedCard:b,coverageStartDate:d,coverageEndDate:p,summary:m,channel:h,tagsLive:v,perPage:f,hasNewCards:g,hasSomeTag:function(e){var t;return null==(t=v.value)?void 0:t.flat().some(t=>e.includes(Number(t)))},getCards:async function(e,t,n,r){r=r||f.value;const a=$().$tools,o=(new Date).getTime();var i;e=(await async function(e,t){var n=`commons.uol.com.br/monaco/feed/${t}/minuto-a-minuto-colecao.json`,r=$().$tools;let a=[];try{a=(await r.json.open(n)||[]).filter(t=>(null==(t=null==(t=t.config)?void 0:t.channel)?void 0:t.id)===e)}catch(n){n.message=`There was a problem getting minute by minute data from station ${t} - `+n.message,r.log.error(n)}return a}(e,t)).map(({url:e})=>e.replace(/https?:\/\//,""));let s=[];try{s=(await Promise.allSettled(e.map(e=>a.json.open(e)))).filter(e=>null==(e=e.value)?void 0:e.active).map(e=>null==(e=e.value)?void 0:e.timeline).flat().filter(e=>e.date<=o).sort(O)}catch(e){e.message="There was a problem to getting cards in data.json "+e.message,a.log.error(e)}return[t,i,e=5]=[s,n,r],e=(n=i?t.findIndex(e=>e.id===i):0)+e,{cards:t.slice(n,e),next:(null==(n=null==t?void 0:t[e])?void 0:n.id)||null}},parseDate:function(e){return e?c()(e,"DD/MM/YYYY HH:mm").toISOString():""},getStatus:w,setVideo:S,setConfig:function({data:t}){var n;if(t){null!=(n=t.general)&&n.title&&(e.title=t.general.title),e.kicker.badge=w((null==(n=t.general)?void 0:n.endDate)||t.endDate,(null==(n=t.general)?void 0:n.endCoverage)||t.endCoverage),u.value=(null==(n=null==t?void 0:t.general)?void 0:n.fixedPost)||(null==t?void 0:t.fixedPost)||"";const r=t.summary||t["summary-live"];r&&(n=(n=Object.keys(r)).some(e=>/^topico-/.test(e))?n.sort().reduce((e,t)=>("title"===t?e.title=r[t]:(e.items=e.items||[],e.items.push(r[t].description)),e),{}):null,m.value=n),t.video&&S(t.video)}},updateCards:function(e=[],r={}){var o=e,s=e;for(const e of s.deleted||[])t.delete(e);r.restartTimeline&&t.clear();let c=(null==o?void 0:o.cards)||(null==s?void 0:s.timeline)||e||[];Object.hasOwnProperty.call(e,"active")&&(!1===(s=e).active?n.set(s.id,!0):s.active&&n.has(s.id)&&n.delete(s.id)),r.onlyUpdate||(c=c.concat(y),y=[]);for(const e of c){const n=t.get(e.id);n?Object.entries(e).forEach(([e,t])=>{n[e]=t}):r.onlyUpdate?y.push(e):t.set(e.id,e)}g.value=!!y.length,(null!=o&&o.next||null===(null==o?void 0:o.next))&&(i.value=o.next);const l=new RegExp(`_(${[...n.keys()].join("|")})_`);a.value=[...t.values()].filter(e=>0===n.size||!l.test(e.id)).sort(O)},initMap:function(){o.isServerRendering||a.value.forEach(e=>{t.set(e.id,e)})}}});i=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(i=c.a),m={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(e){return e+"º"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}},i.default.locale(m,null,!0);var D=(e=>(e.MedalBoardPage="medal-board",e.ModalityPage="modality",e.ModalitiesListPage="modalities-list",e))(D||{});function M(e,t){const n=(new Date).getTime(),r=!!(l=t)&&([l,a]=l.replace("#","").split("-").map(Number),i=(o=new Date).getDate(),a<(o=o.getMonth()+1)||a===o&&l<i);var a,o,i;const s=!!(a=t)&&([a,o]=a.replace("#","").split("-").map(Number),i=(l=new Date).getDate(),(l=l.getMonth()+1)<o||o===l&&i<a);var l=e.live;l&&!l.label&&(l.label="Ao vivo Olimpíadas Paris 2024");var u,d;e=e.cards.map(e=>{var t=(new Date).setHours(Number(e.hour),Number(e.minutes),0,0),a=new Date(t);t=a.setMinutes(a.getMinutes()+Number(e.timer));return"string"==typeof(null==e?void 0:e.competitors)&&(e.competitors=null==(a=null==e?void 0:e.competitors)?void 0:a.split(";").filter(e=>""!==e)),{...e,time:(new Date).setHours(Number(e.hour),Number(e.minutes),0,0),timeDuration:t,type:"photo",timeOff:t<=n,readmore:e.url,imageCredit:e.credito,isEarlier:r,isFuture:s}}),t=null!=t&&t.match(/#\d{2}-\d{2}-\d{4}/)?null==t?void 0:t.replace(/#(\d{2})-(\d{2})-(\d{4})/,"$3-$2-$1"):T(new Date);return u=(t=(t=c()(t).format("dddd, DD, MMMM")).split(",").map(e=>e.trim()))[0],d=t[1],t=t[2],{cards:e,dateString:u.charAt(0).toUpperCase()+u.slice(1)+`, ${d} de `+t,live:l}}function T(e,t){var n=e.getFullYear(),r=(e.getMonth()+1).toString().padStart(2,"0");e=e.getDate().toString().padStart(2,"0");return t?e+`-${r}-`+n:n+`-${r}-`+e}const L=Object(a.defineStore)("olympics",()=>{const e=Object(r.ref)([]);var t=Object(r.ref)("");const n=Object(r.ref)([]),a=Object(r.ref)();var o=Object(r.ref)("modality");const i=Object(r.ref)("");var s=Object(r.ref)([]),c=Object(r.ref)();const l=Object(r.ref)("");var u=Object(r.ref)(),d=Object(r.computed)(()=>i.value.includes("destaque")||i.value.match(/#\d{2}-\d{2}-\d{4}/)),p=Object(r.computed)(()=>e.value.filter(f).sort(h)),m=Object(r.computed)(()=>e.value.filter(g).sort(h));function h(e,t){return t.time>e.time?-1:t.time<e.time?1:0}function f(e){return!!e.isFuture||!e.isEarlier&&!g(e)&&!e.timeOff&&(new Date).getTime()<=e.timeDuration}function g(e){return"sim"===e.check}return{cards:e,cardsHighlights:a,dateString:t,findCheck:g,findTimeOff:f,getCards:async function(e,t){e=null!=e&&e.match(/#\d{2}-\d{2}-\d{4}/)?e.replace("#","resultados-"):"resultados-"+T(new Date,!0);var n=L().$tools;t=`commons.uol.com.br/monaco/export/esporte.uol.com.br/olimpiadas/${t}/${e}.json`;let r=[],a={};try{var o=await n.json.open(t)||[];r=o["olympics-2024-schedule-itens"],a=o.ficha["ao-vivo"]}catch(e){e.message="There was a problem getting resulst in commons - "+e.message,n.log.error(e)}return{cards:[...r],live:a}},getDataJson:async function(){var e=L().$tools;try{var t;return(await e.json.open("commons.uol.com.br/monaco/export/api.uol.com.br/olimpiadas-2024/menu-modalidades/config.json")||[])["conteudo-olimpiadas"].map(e=>({title:e.titulo.trim(),url:e.link,image:{src:e.imagem.src,title:e.titulo.trim()}}))}catch(t){t.message="There was a problem getting minute by minute data from station  - "+t.message,e.log.error(t)}},getDataJsonPill:async function(){var e=L().$tools,t=`http://tagpage.sys.srv.intranet/?repository=card&size=100&fields=titulo,url-uol&platform=web&format=json&sort=created:desc&sourcepath=/br/com/uol/esporte/olimpiadas/${e.request.uri.split("/").filter(Boolean)[2]}/2024/card.xml`;let r=[];try{r=function(e){return e.map(e=>({label:function(e){var t;if(e=e.match(/\d{2}-\d{2}-\d{4}/))return[e,t]=e[0].split("-"),e+"/"+t;throw new Error("Formato de string inválido")}(e.titulo),selected:!1}))}((await e.json.request(t)).docs).sort((e,t)=>{var[e,n]=e.label.split("/").map(Number),[t,r]=t.label.split("/").map(Number);return n-r||e-t})}catch(t){t.message="There was a problem getting pill data from station  - "+t.message,e.log.error(t)}n.value=r},getMedalBoardData:async function(){var e=L().$tools;try{return await e.json.open("commons.uol.com.br/monaco/export/esporte.uol.com.br/olimpiadas/quadro-de-medalhas/data.json")}catch(t){t.message="There was a problem getting minute by minute data from station  - "+t.message,e.log.error(t)}},getModalityDataByName:async function(e){var t=L().$tools;try{return await t.json.open(`commons.uol.com.br/monaco/export/esporte.uol.com.br/olimpiadas/${e}/data.json`)}catch(e){e.message="There was a problem getting minute by minute data from station  - "+e.message,t.log.error(e)}},hash:i,initStore:async function(){var e=await async function(){var e=L().$tools;try{return await e.json.open("commons.uol.com.br/monaco/export/api.uol.com.br/olimpiadas-2024/menu-modalidades/config.json")}catch(t){t.message="There was a problem getting minute by minute data from station  - "+t.message,e.log.error(t)}}();a.value=function(e){const t={Atletismo:"atletismo",Badminton:"badminton",Basquete:"basquete",Boxe:"boxe",Breaking:"breaking",Canoagem:"canoagem",Ciclismo:"ciclismo","Escalada esportiva":"escalada-esportiva",Esgrima:"esgrima",Futebol:"futebol","Ginástica":"ginastica",Golfe:"golfe",Handebol:"handebol",Hipismo:"hipismo","Hóquei sobre grama":"hoquei-sobre-grama","Judô":"judo","Levantamento de peso":"levantamento-de-peso","Luta greco-romana":"luta-greco-romana","Luta livre":"luta-livre","Maratonas aquáticas":"maratonas-aquaticas","Nado artístico":"nado-artistico","Natação":"natacao","Pentatlo moderno":"pentatlo-moderno","Polo aquático":"polo-aquatico",Remo:"remo","Rúgbi de 7":"rugbi-de-7","Saltos ornamentais":"saltos-ornamentais",Skate:"skate",Surfe:"surfe",Taekwondo:"taekwondo","Tênis":"tenis","Tênis de mesa":"tenis-de-mesa","Tiro esportivo":"tiro-esportivo","Tiro com arco":"tiro-com-arco",Triatlo:"triatlo",Vela:"vela","Vôlei":"volei","Vôlei de praia":"volei-de-praia"};return e.map(e=>({title:e.modalidades.trim()||"",text:e.descricao.trim()||"",link:`https://www.uol.com.br/esporte/olimpiadas/${t[e.modalidades.trim()]}/`,image:{src:e.imagem.src.trim()||"",alt:""}}))}(e["destaques-olimpiadas"]),e=e["olimpiadas-video"]["olimpiadas-video-embed"]["video-embed"];l.value=(null==(e=e)?void 0:e.replace(/^.*\/embed\//g,"").replace(/'.*/g,""))||""},otherDays:n,setHash:function(e){i.value=e},showCardHeader:d,sortCards:h,updateCards:M,versionPage:o,shareNetworks:s,shareImage:c,globalYoutubeEmbedID:l,filterSearch:p,filterSearchResume:m,live:u}})}).call(this,n(63))},93:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));
/*!
 * Jupiter - Jupiter string service
 * 2023 Fagner Janderson <fjsilva@uolinc.com>
 */
class r extends n(4).MixedEnvironment{constructor(){super(...arguments),this.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"],this.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:"℠","~":"˜","...":"…",'"':"“|”","":"#|‘|’|'"}}toSlug(e,t="-"){let n=e;for(const e in this.charMap)n=n.replace(new RegExp(this.charMap[e],"g"),e).trim();return n.replace(/\s+/g,t).replace(/-{2,}/g,t)}capFirstLetter(e){return e.split(" ").map(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(" ")}limitChar(e,t,n,r){let a=e;return(a=r?a.replace(/<\/?[a-z]?([^>]+)>?/g,""):a).substring(0,t||a.length).trim()+(a.length>t&&n?n:"")}removeSymbols(e){return e.replace(/["#$&'()*+,-./:;[\\\]_`{|}~]/g,"")}emailValidator(e){if(e){var[t,n]=e.split("@");if(t&&n&&t.length<=64&&n.length<=255&&n.split(".").some(e=>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}persistUOLParams(e){const t=new URL(e),n=this.getRequest().getParams()||{};var r,a=(null==(a=this.config)?void 0:a.persistParams)||{};return a&&Array.isArray(a.params)&&(({params:a,when:r}=a),!r||Object.entries(r).every(([e,t])=>t&&"object"==typeof t&&"$exists"in t?t.$exists?e in n:!(e in n):n[e]===t))?(a.forEach(e=>{e in n&&t.searchParams.set(e,n[e])}),t.toString()):e}parseUOLLink(e){var t=["carnaval","carros","ecoa","esporte","guia-de-compras","jogos","nossa","prime","splash","start","tilt","universa","vivabem"],n=new RegExp(`^https?://(${t.join("|")}).uol.com.br`),r=(t=new RegExp(`^https?://(www.)?uol.com.br/(${t.join("|")})`),new RegExp(`^https?://(${["economia","educacao","noticias","tab","bol"].join("|")}).uol.com.br`));return n.test(e)||t.test(e)||r.test(e)?this.persistUOLParams(e.replace(n,"https://www.uol.com.br/$1").replace(t,"https://www.uol.com.br/$2").replace(r,"https://$1.uol.com.br").replace(/^(.*?)(\.\w+|\/)?(\?|$)/g,(e,t,n,r)=>t+(n||"/")+r)):e}quoteToHtmlEntity(e){return e.replace(/'/g,"&#39;").replace(/"/g,"&#34;")}}},94:function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return y})),n.d(t,"c",(function(){return d}));t=n(4);var r=n(49),a=n(2920),o=n(13);n=n(42);const i=new t.EventEmitter;var s=Object.defineProperty,c=Object.getOwnPropertyDescriptor,l=(e,t,n,r)=>{for(var a,o=1<r?void 0:r?c(t,n):t,i=e.length-1;0<=i;i--)(a=e[i])&&(o=(r?a(t,n,o):a(o))||o);return r&&o&&s(t,n,o),o};const u=["newsletter","productIds","notificationThemes","mostViewedTags","mostAccessedArticleTypes","horoscopes","mostAccessedLotteries","stockActionsOfInterest"],d=["frequencyClassification","favoriteTeam","preferredCurrency"];class p{constructor(){this.horoscopes=[]}}const m="__vueland_user_preferences";class h extends t.FrontEnvironment{constructor(){super(...arguments),this.defaultValues=new p}getAttribute(e){let t=this.defaultValues[e];try{t=this.localStorageService.getDataKey(m,e)}catch(e){this.localStorageService.setData(m,t)}return t}setAttribute(e,t){i.emit("set",{key:e,value:t}),this.localStorageService.setDataProp(m,e,t)}async set(e){this.setAttribute(this.name,e)}}l([Object(t.Inject)(r.b)],h.prototype,"localStorageService",2),l([Object(t.Inject)(r.a)],h.prototype,"cookieService",2);const f={"atletico-mg":{id:4,name:"Atlético-MG",slug:"atletico-mg",acronym:"CAM",icon:o.teamAtleticoMg},"atletico-go":{id:1094,name:"Atlético-GO",slug:"atletico-go",acronym:"ACG",icon:o.teamAtleticoGo},"america-mg":{id:26,name:"América-MG",slug:"america-mg",acronym:"AMG",icon:o.teamAmericaMg},athletico:{id:3,name:"Athletico",slug:"athletico",acronym:"CAP",icon:o.teamAtleticoPr},bahia:{id:30,name:"Bahia",slug:"bahia",acronym:"BAH",icon:o.teamBahia},botafogo:{id:5,name:"Botafogo",slug:"botafogo",acronym:"BOT",icon:o.teamBotafogo},"red-bull-bragantino":{id:984,name:"Red Bull Bragantino",slug:"red-bull-bragantino",acronym:"BRG",icon:o.teamBragantino},ceara:{id:33,name:"Ceará",slug:"ceara",acronym:"CEA",icon:o.teamCeara},chapecoense:{id:695,name:"Chapecoense",slug:"chapecoense",acronym:"CHA",icon:o.teamChapecoense},corinthians:{id:6,name:"Corinthians",slug:"corinthians",acronym:"COR",icon:o.teamCorinthians},coritiba:{id:7,name:"Coritiba",slug:"coritiba",acronym:"CTB",icon:o.teamCoritiba},cruzeiro:{id:9,name:"Cruzeiro",slug:"cruzeiro",acronym:"CRU",icon:o.teamCruzeiro},cuiaba:{id:185,name:"Cuiabá",slug:"cuiaba",acronym:"CUI",icon:o.teamCuiaba},flamengo:{id:1,name:"Flamengo",slug:"flamengo",acronym:"FLA",icon:o.teamFlamengo},fluminense:{id:11,name:"Fluminense",slug:"fluminense",acronym:"FLU",icon:o.teamFluminense},fortaleza:{id:35,name:"Fortaleza",slug:"fortaleza",acronym:"FOR",icon:o.teamFortaleza},goias:{id:12,name:"Goiás",slug:"goias",acronym:"GOI",icon:o.teamGoias},gremio:{id:13,name:"Grêmio",slug:"gremio",acronym:"GRE",icon:o.teamGremio},internacional:{id:15,name:"Internacional",slug:"internacional",acronym:"INT",icon:o.teamInternacional},mirassol:{id:1249,name:"Mirassol",slug:"mirassol",acronym:"MIR",icon:o.teamMirassol},palmeiras:{id:17,name:"Palmeiras",slug:"palmeiras",acronym:"PAL",icon:o.teamPalmeiras},santos:{id:22,name:"Santos",slug:"santos",acronym:"SAN",icon:o.teamSantos},"sao-paulo":{id:24,name:"São Paulo",slug:"sao-paulo",acronym:"SPA",icon:o.teamSaoPaulo},sport:{id:76,name:"Sport",slug:"sport",acronym:"SPT",icon:o.teamSport},vasco:{id:25,name:"Vasco",slug:"vasco",acronym:"VAS",icon:o.teamVasco},vitoria:{id:21,name:"Vitória",slug:"vitoria",acronym:"VIT",icon:o.teamVitoria},juventude:{id:16,name:"Juventude",slug:"juventude",acronym:"JUV",icon:o.teamJuventude},criciuma:{id:8,name:"Criciúma",slug:"criciuma",acronym:"CRI",icon:o.teamCriciuma}},g={aries:{name:"Áries",slug:"aries",icon:n.signAries},touro:{name:"Touro",slug:"touro",icon:n.signTouro},gemeos:{name:"Gêmeos",slug:"gemeos",icon:n.signGemeos},cancer:{name:"Câncer",slug:"cancer",icon:n.signCancer},leao:{name:"Leão",slug:"leao",icon:n.signLeao},virgem:{name:"Virgem",slug:"virgem",icon:n.signVirgem},libra:{name:"Libra",slug:"libra",icon:n.signLibra},escorpiao:{name:"Escorpião",slug:"escorpiao",icon:n.signEscorpiao},sagitario:{name:"Sagitário",slug:"sagitario",icon:n.signSagitario},capricornio:{name:"Capricórnio",slug:"capricornio",icon:n.signCapricornio},aquario:{name:"Aquário",slug:"aquario",icon:n.signAquario},peixes:{name:"Peixes",slug:"peixes",icon:n.signPeixes}};var v=Object.defineProperty,b=Object.getOwnPropertyDescriptor;l=(e,t,n,r)=>{for(var a,o=1<r?void 0:r?b(t,n):t,i=e.length-1;0<=i;i--)(a=e[i])&&(o=(r?a(t,n,o):a(o))||o);return r&&o&&v(t,n,o),o};class y extends t.MixedEnvironment{constructor(){super(...arguments),this.defaultValues=new p}getAllAttributes(){let e=this.localStorageService.getData(m);return e||(e=this.defaultValues,this.localStorageService.setData(m,e)),e}async init(){(await Promise.allSettled([this.team.fetch(),this.sign.fetch()])).filter(e=>"rejected"===e.status).forEach(e=>console.error("Could not initialize one of the user preferences",e)),this.userStore.preferences=this.getAllAttributes(),i.on("set",({key:e,value:t})=>this.userStore.preferences={...this.getAllAttributes(),[e]:t})}}l([Object(t.Inject)(a.useUserStore)],y.prototype,"userStore",2),l([Object(t.Inject)(r.b)],y.prototype,"localStorageService",2),l([Object(t.Inject)(r.a)],y.prototype,"cookieService",2),l([Object(t.Inject)(class extends h{constructor(){super(...arguments),this.name="favoriteTeam"}async fetch(){const e=this.getAttribute(this.name),t=this.cookieService.getCookie("meuTime");var n=Object.values(f).find(({slug:t})=>t==e),r=Object.values(f).find(({id:e})=>e==t);t&&r?(null==n?void 0:n.slug)!==(null==r?void 0:r.slug)&&this.setAttribute(this.name,r.slug):this.setAttribute(this.name,"")}async set(e){var t;this.setAttribute(this.name,e),null!=(t=f[e])&&t.id&&((t=new Date).setFullYear(t.getFullYear()+1),this.cookieService.setCookie("meuTime",null==(e=null==(e=f[e])?void 0:e.id)?void 0:e.toString(),{domain:".uol.com.br",path:"/",expires:t}))}getTeams(){return Object.freeze(f)}})],y.prototype,"team",2),l([Object(t.Inject)(class extends h{constructor(){super(...arguments),this.name="horoscopes"}async fetch(){var e=this.cookieService.getCookie("meuSigno"),t=this.getAttribute(this.name)[0];e?e!==t&&this.setAttribute(this.name,[e]):this.setAttribute(this.name,[])}async set(e){var t;this.setAttribute(this.name,e),null!=(t=g[null==e?void 0:e[0]])&&t.slug&&((t=new Date).setFullYear(t.getFullYear()+1),this.cookieService.setCookie("meuSigno",null==(e=null==(e=g[e[0]])?void 0:e.slug)?void 0:e.toString(),{domain:".uol.com.br",path:"/",expires:t}))}getSigns(){return Object.freeze(g)}})],y.prototype,"sign",2)}}]);