Vogue - astrologia horoscopo (2024)

"),n.document.close(),n.focus(),!0};t.getAdConfig=function(){var e=window.cdaaas&&window.cdaaas.SETTINGS||{},t={adUnit:e.TAG_MANAGER_AD_UNIT,adCustomData:e.TAG_MANAGER_AD_CUSTOM_DATA,adCmsId:e.TAG_MANAGER_AD_CMS_ID,adAccountId:e.TAG_MANAGER_AD_ACCOUNT_ID,extras:e.TAG_MANAGER_AD_EXTRAS,gaProductUA:e.PRODUCT_UA},n={width:"100%",height:"100%",adUnit:t.adUnit,adCmsId:t.adCmsId,adAccountId:t.adAccountId,ga:{productUA:t.gaProductUA,extras:{dimension1:"web"}}},r=["ambient=web","tipo_pagina=multi-content"];if(t.adCustomData&&r.push(t.adCustomData),t.extras){if("object"===o(t.extras)){var c=[];for(var i in t.extras)c.push(encodeURIComponent(i+"="+t.extras[i]));r.push("tvg_Extras=".concat(c.join(",")))}"string"==typeof t.extras&&r.push("tvg_Extras=".concat(t.extras))}return n.adCustomData=r.join("&"),n};var r=function(e,t){var n=document.createElement("script");n.type="text/javascript",n.defer=!0,n.charset="utf-8",n.src=e,n.onload=n.onreadystatechange=function(){(t&&!this.readyState||"complete"==this.readyState)&&t()},document.getElementsByTagName("head")[0].appendChild(n)};t.loadScript=r;var c=function(e,t){var n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.media="screen,print",n.href=e,n.onload=n.onreadystatechange=function(){(t&&!this.readyState||"complete"==this.readyState)&&t()},document.getElementsByTagName("head")[0].appendChild(n)};t.loadStyle=c;t.loadAssets=function(e,t){e.forEach(function(e){switch(e.type){case"stylesheet":c(e.src,t);break;case"script":r(e.src,t)}})};t.whenAvailable=function(e,t){window.setTimeout(function n(){window[e]?t():window.setTimeout(n,50)},50)}},,,,,,,,,function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adsLazyload=function(){var e=document.querySelectorAll(".ads--lazy");if(0===e.length)return;var t=!0,n=!1,r=void 0;try{for(var c,i=function(){var e=c.value;window.ScrollSpy.add({el:e,offset:200,callback:function(){(0,o.whenAvailable)("bannerLazyLoading",function(){!function(e){var t=e.getAttribute("data-id");e.setAttribute("id",t),setTimeout(window.bannerLazyLoading(t),0)}(e)})}})},a=e[Symbol.iterator]();!(t=(c=a.next()).done);t=!0)i()}catch(e){n=!0,r=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw r}}};var o=n(0)},function(e,t,n){"use strict";var o,r,c;function i(e){return(i="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)}!function(n,a){"object"==i(t)&&void 0!==e?a(t):(r=[t],void 0===(c="function"==typeof(o=a)?o.apply(t,r):o)||(e.exports=c))}(0,function(e){var t,n,o=[];function r(e){var t=!0;return function(){t&&(e(),t=!1,setTimeout(function(){return t=!0},150))}}function c(e){var t=i();return e.el.getBoundingClientRect()[e.reference]+t-e.offset}function i(){if("undefined"!=typeof pageYOffset)return pageYOffset;var e=document.documentElement;return(e=e.clientHeight?e:document.body).scrollTop}function a(){}function d(){var e;e=document.body.offsetHeight,n!==e&&(n=e,function(){t=window.innerHeight;for(var e=0,n=o;e=l.pos))break;l.callback&&l.callback(),o.shift()}o.length||(window.removeEventListener("scroll",r(d)),window.removeEventListener("resize",r(a)))}e.add=function(e){if(!e.el)throw new Error("[@globocom/scrollspy] item.el is required");var i=Object.assign({offset:200,reference:"top",pos:0},e);i.pos=c(i);var l=o.findIndex(function(e){return e.pos>i.pos});o.splice(-1===l?o.length:l,0,i),1===o.length&&(t=window.innerHeight,n=document.body?document.body.offsetHeight:0,window.addEventListener("scroll",r(d)),window.addEventListener("resize",r(a))),u()},e.clean=function(){o=[]},e.debug=function(){return o.forEach(function(e,t){var n="2px dashed "+(t%2?"red":"blue"),o=document.createElement("div"),r=["top: "+e.pos+";","width: 100%;","position: absolute;","border-top: "+n+";"].join("");e.el.style.border=n,o.className="debug-line",o.setAttribute("style",r),document.body.appendChild(o)}),o},e.getItems=function(){return o.map(function(e){return e})},Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){"use strict";var o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};o.get||o.set?Object.defineProperty(t,n,o):t[n]=e[n]}return t.default=e,t}(n(11)),r=n(10);n(9),window.ScrollSpy=o,document.addEventListener("bannerLazyLoadingReady",r.adsLazyload)}]);!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=2)}([,function(e,t,n){},function(e,t,n){"use strict";n(1)}]);!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=78)}([function(e,t,n){"use strict";var r=n(15),o=n(36),i=Object.prototype.toString;function a(e){return"[object Array]"===i.call(e)}function s(e){return null!==e&&"object"==typeof e}function c(e){return"[object Function]"===i.call(e)}function u(e,t){if(null!==e&&void 0!==e)if("object"==typeof e||a(e)||(e=[e]),a(e))for(var n=0,r=e.length;n1&&"boolean"!=typeof t)throw new i('"allowMissing" argument must be a boolean');if(null===E(/^%?[^%]*%?$/,e))throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=S(e,0,1),n=S(e,-1);if("%"===t&&"%"!==n)throw new r("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new r("invalid intrinsic syntax, expected opening `%`");var o=[];return x(e,A,function(e,t,n,r){o[o.length]=n?x(r,j,"$1"):t||e}),o}(e),o=n.length>0?n[0]:"",a=L("%"+o+"%",t),c=a.name,u=a.value,l=!1,p=a.alias;p&&(o=p[0],_(n,w([0,1],p)));for(var f=1,d=!0;f=n.length){var v=s(u,h);u=(d=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:u[h]}else d=b(u,h),u=u[h];d&&!l&&(m[c]=u)}}return u}},function(e,t,n){var r=n(69),o=n(70),i=n(71),a=n(72);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise(function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,c,"next",e)}function c(e){n(a,o,i,s,c,"throw",e)}s(void 0)})}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(67);function o(e,t){for(var n=0;n=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],function(e){s.headers[e]={}}),r.forEach(["post","put","patch"],function(e){s.headers[e]=r.merge(i)}),e.exports=s}).call(this,n(9))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,u=[],l=!1,p=-1;function f(){l&&c&&(l=!1,c.length?u=c.concat(u):p=-1,u.length&&d())}function d(){if(!l){var e=s(f);l=!0;for(var t=u.length;t;){for(c=u,u=[];++p1)for(var n=1;n=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),u=a.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:I(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),b}},n}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},,function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===r.RFC1738&&(40===l||41===l)?c+=s.charAt(u):l<128?c+=a[l]:l<2048?c+=a[192|l>>6]+a[128|63&l]:l<55296||l>=57344?c+=a[224|l>>12]+a[128|l>>6&63]+a[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&s.charCodeAt(u)),c+=a[240|l>>18]+a[128|l>>12&63]+a[128|l>>6&63]+a[128|63&l])}return c},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n * @license MIT */e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,n){"use strict";var r=n(8),o=n(0),i=n(46),a=n(47),s=n(49),c=n(50);function u(e){this.defaults=e,this.interceptors={request:new i,response:new i}}u.prototype.request=function(e){"string"==typeof e&&(e=o.merge({url:arguments[0]},arguments[1])),(e=o.merge(r,this.defaults,{method:"get"},e)).method=e.method.toLowerCase(),e.baseURL&&!s(e.url)&&(e.url=c(e.baseURL,e.url));var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},o.forEach(["delete","get","head","options"],function(e){u.prototype[e]=function(t,n){return this.request(o.merge(n||{},{method:e,url:t}))}}),o.forEach(["post","put","patch"],function(e){u.prototype[e]=function(t,n,r){return this.request(o.merge(r||{},{method:e,url:t,data:n}))}}),e.exports=u},function(e,t,n){"use strict";var r=n(0);e.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},function(e,t,n){"use strict";var r=n(17);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e}},function(e,t,n){"use strict";var r=n(0);function o(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,function(e,t){null!==e&&void 0!==e&&(r.isArray(e)&&(t+="[]"),r.isArray(e)||(e=[e]),r.forEach(e,function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))}))}),i=a.join("&")}return i&&(e+=(-1===e.indexOf("?")?"?":"&")+i),e}},function(e,t,n){"use strict";var r=n(0);e.exports=function(e){var t,n,o,i={};return e?(r.forEach(e.split("\n"),function(e){o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t&&(i[t]=i[t]?i[t]+", "+n:n)}),i):i}},function(e,t,n){"use strict";var r=n(0);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function o(){this.message="String contains an invalid character"}o.prototype=new Error,o.prototype.code=5,o.prototype.name="InvalidCharacterError",e.exports=function(e){for(var t,n,i=String(e),a="",s=0,c=r;i.charAt(0|s)||(c="=",s%1);a+=c.charAt(63&t>>8-s%1*8)){if((n=i.charCodeAt(s+=.75))>255)throw new o;t=t<<8|n}return a}},function(e,t,n){"use strict";var r=n(0);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(0);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=o},function(e,t,n){"use strict";var r=n(0),o=n(48),i=n(18),a=n(8);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||a.adapter)(e).then(function(t){return s(e),t.data=o(t.data,t.headers,e.transformResponse),t},function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var r=n(0);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(19);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o(function(t){e=t}),cancel:e}},e.exports=o},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";var r=n(54),o=n(22),i=n(12),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,u=Array.prototype.push,l=function(e,t){u.apply(e,c(t)?t:[t])},p=Date.prototype.toISOString,f=i.default,d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:f,formatter:i.formatters[f],indices:!1,serializeDate:function(e){return p.call(e)},skipNulls:!1,strictNullHandling:!1},h={},m=function e(t,n,i,a,s,u,p,f,m,g,y,v,b,w,_,x){for(var S=t,E=x,A=0,j=!1;void 0!==(E=E.get(h))&&!j;){var L=E.get(t);if(A+=1,void 0!==L){if(L===A)throw new RangeError("Cyclic object value");j=!0}void 0===E.get(h)&&(A=0)}if("function"==typeof f?S=f(n,S):S instanceof Date?S=y(S):"comma"===i&&c(S)&&(S=o.maybeMap(S,function(e){return e instanceof Date?y(e):e})),null===S){if(s)return p&&!w?p(n,d.encoder,_,"key",v):n;S=""}if(function(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e||"symbol"==typeof e||"bigint"==typeof e}(S)||o.isBuffer(S))return p?[b(w?n:p(n,d.encoder,_,"key",v))+"="+b(p(S,d.encoder,_,"value",v))]:[b(n)+"="+b(String(S))];var k,C=[];if(void 0===S)return C;if("comma"===i&&c(S))w&&p&&(S=o.maybeMap(S,p)),k=[{value:S.length>0?S.join(",")||null:void 0}];else if(c(f))k=f;else{var O=Object.keys(S);k=m?O.sort(m):O}for(var P=a&&c(S)&&1===S.length?n+"[]":n,T=0;T0?_+w:""}},function(e,t,n){"use strict";var r=n(2),o=n(60),i=n(64),a=r("%TypeError%"),s=r("%WeakMap%",!0),c=r("%Map%",!0),u=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),p=o("WeakMap.prototype.has",!0),f=o("Map.prototype.get",!0),d=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),m=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+i(e))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return u(e,r)}else if(c){if(t)return f(t,r)}else if(n)return function(e,t){var n=m(e,t);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return p(e,r)}else if(c){if(t)return h(t,r)}else if(n)return function(e,t){return!!m(e,t)}(n,r);return!1},set:function(r,o){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),l(e,r,o)):c?(t||(t=new c),d(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=m(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r}},function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(56);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,n){"use strict";var r={foo:{}},o=Object;e.exports=function(){return{__proto__:r}.foo===r.foo&&!({__proto__:null}instanceof o)}},function(e,t,n){"use strict";var r=Object.prototype.toString,o=Math.max,i=function(e,t){for(var n=[],r=0;r-1?o(n):n}},function(e,t,n){"use strict";var r=n(10),o=n(2),i=n(62),a=o("%TypeError%"),s=o("%Function.prototype.apply%"),c=o("%Function.prototype.call%"),u=o("%Reflect.apply%",!0)||r.call(c,s),l=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(l)try{l({},"a",{value:1})}catch(e){l=null}e.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var t=u(r,c,arguments);return i(t,1+p(0,e.length-(arguments.length-1)),!0)};var f=function(){return u(r,s,arguments)};l?l(e.exports,"apply",{value:f}):e.exports.apply=f},function(e,t,n){"use strict";var r=n(2),o=n(63),i=n(20)(),a=n(21),s=r("%TypeError%"),c=r("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||c(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,u=!0;if("length"in e&&a){var l=a(e,"length");l&&!l.configurable&&(r=!1),l&&!l.writable&&(u=!1)}return(r||u||!n)&&(i?o(e,"length",t,!0,!0):o(e,"length",t)),e}},function(e,t,n){"use strict";var r=n(20)(),o=n(2),i=r&&o("%Object.defineProperty%",!0);if(i)try{i({},"a",{value:1})}catch(e){i=!1}var a=o("%SyntaxError%"),s=o("%TypeError%"),c=n(21);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new s("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new s("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new s("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new s("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new s("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new s("`loose`, if provided, must be a boolean");var r=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],p=!!c&&c(e,t);if(i)i(e,t,{configurable:null===u&&p?p.configurable:!u,enumerable:null===r&&p?p.enumerable:!r,value:n,writable:null===o&&p?p.writable:!o});else{if(!l&&(r||o||u))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},function(e,t,n){(function(t){var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"==typeof o.get?o.get:null,a=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&c&&"function"==typeof c.get?c.get:null,l=s&&Set.prototype.forEach,p="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,d="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,y=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,_=String.prototype.toLowerCase,x=RegExp.prototype.test,S=Array.prototype.concat,E=Array.prototype.join,A=Array.prototype.slice,j=Math.floor,L="function"==typeof BigInt?BigInt.prototype.valueOf:null,k=Object.getOwnPropertySymbols,C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,O="function"==typeof Symbol&&"object"==typeof Symbol.iterator,P="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===O||"symbol")?Symbol.toStringTag:null,T=Object.prototype.propertyIsEnumerable,R=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function I(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-j(-e):j(e);if(r!==e){var o=String(r),i=v.call(t,o.length+1);return b.call(o,n,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var N=n(65),M=N.custom,q=$(M)?M:null;function U(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function B(e){return b.call(String(e),/"/g,""")}function D(e){return!("[object Array]"!==W(e)||P&&"object"==typeof e&&P in e)}function F(e){return!("[object RegExp]"!==W(e)||P&&"object"==typeof e&&P in e)}function $(e){if(O)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!C)return!1;try{return C.call(e),!0}catch(e){}return!1}e.exports=function e(n,r,o,s){var c=r||{};if(V(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(V(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var m=!V(c,"customInspect")||c.customInspect;if("boolean"!=typeof m&&"symbol"!==m)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(c,"numericSeparator")&&"boolean"!=typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=c.numericSeparator;if(void 0===n)return"undefined";if(null===n)return"null";if("boolean"==typeof n)return n?"true":"false";if("string"==typeof n)return function e(t,n){if(t.length>n.maxStringLength){var r=t.length-n.maxStringLength,o="... "+r+" more character"+(r>1?"s":"");return e(v.call(t,0,n.maxStringLength),n)+o}var i=b.call(b.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,z);return U(i,"single",n)}(n,c);if("number"==typeof n){if(0===n)return 1/0/n>0?"0":"-0";var x=String(n);return w?I(n,x):x}if("bigint"==typeof n){var j=String(n)+"n";return w?I(n,j):j}var k=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=k&&k>0&&"object"==typeof n)return D(n)?"[Array]":"[Object]";var M=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=E.call(Array(e.indent+1)," ")}return{base:n,prev:E.call(Array(t+1),n)}}(c,o);if(void 0===s)s=[];else if(G(s,n)>=0)return"[Circular]";function H(t,n,r){if(n&&(s=A.call(s)).push(n),r){var i={depth:c.depth};return V(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),e(t,i,o+1,s)}return e(t,c,o+1,s)}if("function"==typeof n&&!F(n)){var Z=function(e){if(e.name)return e.name;var t=y.call(g.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(n),ee=K(n,H);return"[Function"+(Z?": "+Z:" (anonymous)")+"]"+(ee.length>0?" { "+E.call(ee,", ")+" }":"")}if($(n)){var te=O?b.call(String(n),/^(Symbol\(.*\))_[^)]*$/,"$1"):C.call(n);return"object"!=typeof n||O?te:J(te)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(n)){for(var ne="<"+_.call(String(n.nodeName)),re=n.attributes||[],oe=0;oe",n.childNodes&&n.childNodes.length&&(ne+="..."),ne+=""+_.call(String(n.nodeName))+">"}if(D(n)){if(0===n.length)return"[]";var ie=K(n,H);return M&&!function(e){for(var t=0;t=0)return!1;return!0}(ie)?"["+Y(ie,M)+"]":"[ "+E.call(ie,", ")+" ]"}if(function(e){return!("[object Error]"!==W(e)||P&&"object"==typeof e&&P in e)}(n)){var ae=K(n,H);return"cause"in Error.prototype||!("cause"in n)||T.call(n,"cause")?0===ae.length?"["+String(n)+"]":"{ ["+String(n)+"] "+E.call(ae,", ")+" }":"{ ["+String(n)+"] "+E.call(S.call("[cause]: "+H(n.cause),ae),", ")+" }"}if("object"==typeof n&&m){if(q&&"function"==typeof n[q]&&N)return N(n,{depth:k-o});if("symbol"!==m&&"function"==typeof n.inspect)return n.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(n)){var se=[];return a&&a.call(n,function(e,t){se.push(H(t,n,!0)+" => "+H(e,n))}),Q("Map",i.call(n),se,M)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(n)){var ce=[];return l&&l.call(n,function(e){ce.push(H(e,n))}),Q("Set",u.call(n),ce,M)}if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(n))return X("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(n))return X("WeakSet");if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{return d.call(e),!0}catch(e){}return!1}(n))return X("WeakRef");if(function(e){return!("[object Number]"!==W(e)||P&&"object"==typeof e&&P in e)}(n))return J(H(Number(n)));if(function(e){if(!e||"object"!=typeof e||!L)return!1;try{return L.call(e),!0}catch(e){}return!1}(n))return J(H(L.call(n)));if(function(e){return!("[object Boolean]"!==W(e)||P&&"object"==typeof e&&P in e)}(n))return J(h.call(n));if(function(e){return!("[object String]"!==W(e)||P&&"object"==typeof e&&P in e)}(n))return J(H(String(n)));if("undefined"!=typeof window&&n===window)return"{ [object Window] }";if(n===t)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==W(e)||P&&"object"==typeof e&&P in e)}(n)&&!F(n)){var ue=K(n,H),le=R?R(n)===Object.prototype:n instanceof Object||n.constructor===Object,pe=n instanceof Object?"":"null prototype",fe=!le&&P&&Object(n)===n&&P in n?v.call(W(n),8,-1):pe?"Object":"",de=(le||"function"!=typeof n.constructor?"":n.constructor.name?n.constructor.name+" ":"")+(fe||pe?"["+E.call(S.call([],fe||[],pe||[]),": ")+"] ":"");return 0===ue.length?de+"{}":M?de+"{"+Y(ue,M)+"}":de+"{ "+E.call(ue,", ")+" }"}return String(n)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return H.call(e,t)}function W(e){return m.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n-1?e.split(","):e},u=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),u=s?i.slice(0,s.index):i,l=[];if(u){if(!n.plainObjects&&o.call(Object.prototype,u)&&!n.allowPrototypes)return;l.push(u)}for(var p=0;n.depth>0&&null!==(s=a.exec(i))&&p=0;--i){var a,s=e[i];if("[]"===s&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(u,10);n.parseArrays||""!==u?!isNaN(l)&&s!==u&&String(l)===u&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=o:"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o}(l,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null===e||void 0===e)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,u={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,p=t.parameterLimit===1/0?void 0:t.parameterLimit,f=l.split(t.delimiter,p),d=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n-1&&(g=i(g)?[g]:g),o.call(u,m)?u[m]=r.combine(u[m],g):u[m]=g}return u}(e,n):e,p=n.plainObjects?Object.create(null):{},f=Object.keys(l),d=0;d=1){manageElementClasses.hasClass(document.documentElement,"glb-on-app")||(document.documentElement.className+=" glb-on-app");try{localStorage.setItem("glbOnApp",glb.nativeAppInfo.frameworkVersion)}catch(e){e}glb.nativeAppType="master-app"}}else manageElementClasses.hasClass(document.documentElement,"glb-on-app-comnio")||(document.documentElement.className+=" glb-on-app-comnio"),glb.nativeAppType="comnio-app"}},void 0!==t&&t.exports&&(t.exports=r)},{}],3:[function(e,t,n){var r,o,i,a,s;window.glb=window.glb||{},s=e("../../globo-cdn-src/scripts/tiny-basket.coffee"),e("../../globo-cdn-src/scripts/common/__custom-event.coffee"),o=window.isArray,a=window.stringStartsWith,glb.extendArrays=function(e,t){if(o(e)&&o(t))return Array.prototype.push.apply(e,t),e},glb.addGlbOnAppClass=e("../../globo-cdn-src/scripts/app/__master-app-addclass.coffee"),glb.addHasReguaClass=e("../../globo-cdn-src/scripts/regua/__regua-navegacao-addclass.coffee"),glb.cdnConfig=e("../../globo-cdn-src/scripts/__cdn-configs.coffee"),glb.createProductColorCss=function(e){return s.injectStylesheet("text/css",".menu-navegacao-color { color: "+e+"; }","fn-menu-color-default")},glb.getCurrentInternalHost=function(e){var t,n,r,o,i,a;for(t=0,o=(a=glb.cdnConfig.fnInternalHosts).length;t@media("+i+":"+o["client"+e]+"px){body#vpw-test-b div#vpw-test-d{"+i+":7px!important}}",t.appendChild(n),o.insertBefore(t,r.head),a=7===n["offset"+e]?o["client"+e]:window["inner"+e],o.removeChild(t)):a=window["inner"+e],a},window.myInnerWidth=viewportSize.getWidth(),window.myInnerHeight=viewportSize.getHeight(),o=function(){return window.myInnerWidth||window.innerWidth},r=function(){return window.myInnerHeight||window.innerHeight},i=function(){var e;return null!=window.isAndroidBrowser?window.isAndroidBrowser:(e=navigator.userAgent,window.isAndroidBrowser=e.indexOf("Mozilla/5.0")>-1&&e.indexOf("Android ")>-1&&e.indexOf("AppleWebKit")>-1&&-1===e.indexOf("Chrome"),window.isAndroidBrowser)},c=function(){var e;return null!=window.isWindowsPhoneBrowser?window.isWindowsPhoneBrowser:(e=navigator.userAgent,window.isWindowsPhoneBrowser=e.match(/Windows Phone/i)||e.match(/iemobile/i)||e.match(/WPDesktop/i),window.isWindowsPhoneBrowser)},a=function(){return null!=window.isPortrait?window.isPortrait:(window.isPortrait=o()<=r(),window.isPortrait)},s=function(){return null!=window.isTouchable?window.isTouchable:(window.isTouchable="ontouchstart"in window||navigator.msMaxTouchPoints||window.DocumentTouch&&document instanceof window.DocumentTouch,window.isTouchable)},l=function(){var e;return window.REGUAMAXWIDTHPORTRAIT=window.REGUAMAXWIDTHPORTRAIT||640,window.REGUAMAXWIDTHLANDSCAPE=window.REGUAMAXWIDTHLANDSCAPE||767,window.isPortrait=a(),window.isTouchable=s(),window.isAndroidBrowser=i(),window.isWindowsPhoneBrowser=c(),e=o(),glb.isMobile=window.isPortrait&&e<=window.REGUAMAXWIDTHPORTRAIT||!window.isPortrait&&e<=window.REGUAMAXWIDTHLANDSCAPE,glb.isMobile&&glb.reguaReady&&!window.isAndroidBrowser&&!window.isWindowsPhoneBrowser&&(!glb.nativeAppType||"comnio-app"!==glb.nativeAppType)&&document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1")&&(null==window.glb.nativeAppInfo||window.glb.nativeAppInfo.frameworkVersion)},void 0!==t&&t.exports&&(t.exports=l)},{}],8:[function(e,t,n){var r,o,i,a,s,c,u,l,p,f,d,h,m,g,y,v,b,w=function(e,t){return function(){return e.apply(t,arguments)}};b=window.stringStartsWith=function(e,t){return e.slice(0,t.length)===t},h=window.isArray=function(e){return e&&e.constructor===Array},l=window.extendObjs=function(e,t){var n,r;for(n in r={},e)r[n]=e[n];for(n in t)r[n]=t[n];return r},f=document.head||document.getElementsByTagName("head")[0],m=null;try{m=window.localStorageInterface||window.localStorage}catch(e){u=e,console.log("localstorage error",u),m=null}p=function(){var e;if(e="modernizr",!m||!m.setItem)return!1;try{return m.setItem(e,e),m.removeItem(e),!0}catch(e){return u=e,console.log("localstorage error",u),!1}}(),window.localStorageCache=v={save:function(e,t,n){var r,o;if(!p)return!1;r=60*n*1e3,o={value:t,timestamp:(new Date).getTime()+r};try{m.setItem(e,JSON.stringify(o))}catch(e){return u=e,console.log("localstorage error",u),!1}return t},load:function(e){var t;if(!p)return!1;try{t=JSON.parse(m.getItem(e))}catch(e){return u=e,console.log("localstorage error",u),!1}return!!t&&((new Date).getTime()=0?n.expire:60,i=n.success||function(){},s=n.error||function(){},o=n.key||t,v=n.type,g=n.skipCache,y=n.timeout||null,p=null,b=n.xhrConfigsCallback,c=n.data,u=null!=n.dataType?n.dataType:v,null==v&&(v=(v=t.split("."))[v.length-1]),f="json"===v,h="json"===u,!(r=this.getCache(o,g,f)))return(m=a(e,t))?(b&&"function"==typeof b&&b(m),d="undefined"!=typeof XDomainRequest&&m instanceof XDomainRequest,m.onload||(m.onload=function(e){return function(){return p&&clearTimeout(p),d||m.status>=200&&m.status<400?(r=m.responseText,f&&(r=JSON.parse(r)),e.complete(r,l,o,g,f,i)):(console.error("AjaxCache Request Error",m.status,m.responseText),s(m.status,m))}}(this)),m.onerror||(m.onerror=function(){return console.error("AjaxCache Request Error",m.status,m.responseText),s(m.status,m)}),"GET"!==e&&c?(h&&(c=JSON.stringify(c)),d?setTimeout(function(){return m.send(c)},0):m.send(c)):d?setTimeout(function(){return m.send()},0):m.send(),y&&(p=setTimeout(function(){if(null!=m.abort)return m.abort()},y)),m):(console.error("AjaxCache Request Error","This browser does not support this operation"),s("500",m),m);i(r)},e.prototype.getJsonp=function(e,t){var n,r,o,i,a,c,u;i=null!=t.expire&&t.expire>=0?t.expire:60,o=t.success||function(){},r=t.key||e,u=t.skipCache,a="ajaxCacheJsonp"+this.jsonpId++,(n=this.getCache(r,u,!0))?o(n):(window[a]=function(e){return function(t){return e.complete(t,i,r,u,!0,o)}}(this),e+=-1===e.indexOf("?")?"?callback="+a:"&callback="+a,(c=s(a)).src=e,f.appendChild(c))},e.prototype.get=function(e,t){return this.request("GET",e,t)},e.prototype.post=function(e,t){return this.request("POST",e,t)},e}(),window.ajaxCache=new r,o=function(){function e(){}return e.prototype.insertJsOnScriptTag=function(e,t,n){var r;return n&&(t+="\n//# sourceMappingURL="+n),r=document.createTextNode(t),e.appendChild(r)},e.prototype.injectScriptTag=function(e,t,n,r){var o;(o=s(n)).src=t,f.appendChild(o)},e.prototype.injectScript=function(e,t,n,r){var o;o=s(n),this.insertJsOnScriptTag(o,t,r),f.appendChild(o)},e.prototype.injectLinkTag=function(e,t,n,r){var o;(o=document.createElement("link")).id=n,o.type="text/css",o.rel="stylesheet",o.href=t,f.appendChild(o)},e.prototype.injectStylesheet=function(e,t,n,r){i(t,n,r,null)},e.prototype.defaultHandler=function(e,t,n,r){window["tinyBasketResult"+e]=window["tinyBasketResult"+e]||{},window["tinyBasketResult"+e][n.toString()]=t},e.prototype.getHandler=function(e,t){return"js"===e?t?this.injectScriptTag:this.injectScript:"css"===e?t?this.injectLinkTag:this.injectStylesheet:this.defaultHandler},e.prototype.skipCacheRequestManager=function(e,t){return t.success(e)},e.prototype.getRequestManager=function(e,t){return!t||"js"!==e&&"css"!==e?"jsonp"===e?ajaxCache.getJsonp:ajaxCache.get:this.skipCacheRequestManager},e.prototype.require=function(e,t){var n,r,o,i,a,s,c,u,p,f,d,m;if(n=this,e)for(h(e)||(e=[e]),o=0,a=e.length;o!(!window.glb||!window.glb.cdnConfig),b=()=>v()?y.fnProduct:g,w=()=>v()?y.fnBuscaUrl:{},_=()=>v()?y.fnEnv:{},x=()=>{let e=b().name;return(e="famosos"===e?"ego":e)||"g1"},S=()=>window.localStorageCache.load("fn-search-history"),E=e=>{let t=S()||[];t.push({type:"featuredContent",data:e}),t.length>9&&(t=t.slice(-9));const n=[];t.forEach(e=>{!((e,t)=>{for(let n=0;n"featuredContent"===e.type&&"title"in e.data)(e)&&n.push(e)}),window.localStorageCache.save("fn-search-history",n,43200)},A=e=>{const t=`${(()=>{const e=b(),t=w();return t&&/^(http:|https:)?\/\/.+\/busca\/?$/.test(t)?t:(e.search||e.home)&&"prod"===_()?`${e.search||e.home}busca/suggest`:"/busca/suggest"})()}?${m.a.stringify(e)}`;return d.a.get(t)},j=(e=3)=>{const t=e=>((e=>{window.localStorageCache.save("fn-pre-suggest",e,15)})(e),e),n=e=>{const n=window.localStorageCache.load("fn-pre-suggest");return n?Promise.resolve(n):A(e).then(t)},r={score:!0,size:e},o=S();return new Promise((e,t)=>{n(r).then((e=>t=>({preSuggest:t,searchHistoryHtml:e,portalLabel:b().label}))(o)).then(e).catch(t)})},L=(e,t=3,n=3)=>{const r={q:e,score:!0,prioritarios:x(),size:Math.max(t,n),restrictions:[x(),...window.searchTenantsRestriction].join(",")};return A(r)};var k=function(e){return e.stopPropagation(),new Promise(t=>{let n=null,r=null;const o=e.timeStamp,i=e=>{n=e.touches[0].clientX,r=e.touches[0].clientY},a=e=>{this.removeEventListener("touchend",a),this.removeEventListener("touchmove",i),(e=>!n&&!r&&e-o<=300)(e.timeStamp)&&t()};this.addEventListener("touchmove",i),this.addEventListener("touchend",a)})};var C=(()=>{let e;return()=>new Promise(t=>{clearTimeout(e),e=setTimeout(()=>{t()},300)})})();var O=(e,t)=>new Promise(n=>{if(e.length>=t)return n(e);throw new function(e){this.prototype=Object.create(Error.prototype),this.name="Validation",this.message=e}("Caracteres menor que o esperado")});var P=(e=[],t)=>(function(n){const r=e.map(e=>e.call(this,n));return Promise.all(r).then(()=>{t.call(this,n)}).catch(()=>!1)});var T=(e={})=>{const{baseSVGPath:t,insertHTML:n,className:r,placeholder:o,transitionDuration:i}=e,a=[i?`transition-duration: ${i}`:""];return n(`

`),{templateItem:({title:e="",type:n,url:r,publisher:o,icone:i,iconeWidth:a,score:s,parent:c},u)=>"block-title"===n?`
  • ${e}
  • `:`
  • \n \n \n \n \n \n \n \n ${((e,t)=>"default-item"===t?`Buscar por "${e}"em ${b().name}`:e)(e,n)}\n ${((e="")=>e?`Em ${e}`:"")(c)}\n \n \n
  • `}};var R=(e={})=>{const{transformPreSuggest:t,transformSuggest:n,limitResult:r,limitHistory:o,minLength:i}=e,a=i,{templateItem:s}=T(e);let c=null;const u=e=>{document.querySelector(".searchV2__suggest__items").innerHTML=e.map(s).join("")},l=e=>Object.assign({},e,{limitResult:r,limitHistory:o}),p=()=>"preSuggest"===c?Promise.resolve():(c="preSuggest",new Promise(e=>j().then(l).then(t).then(u).then(e).catch(({message:e})=>{console.error(e)}))),f=({name:e,message:t})=>{switch(e){case"Validation":p();break;default:console.error(t)}};return{renderPreSuggest:p,renderSuggest:e=>new Promise(t=>O(e,a).then(L).then(l).then(n(e)).then(u).then(()=>{c="suggest"}).then(t).catch(f)),handleSuggestError:f}};var I=()=>{const e=document.body,t=e.querySelector(".searchV2"),n=t.querySelector(".searchV2__header__term");let r,o=null;let i={};return{get el(){return t},get term(){return n.value},set term(e){n.value=e},set afterClose(e){o=e},on:(e,t,n,r={},o=document.body)=>{const a=`${t}--${e}`;i=Object.assign({},i,{[a]:((e,t)=>n=>{const r=((e,t)=>{let n=e;const r=e=>1===e.nodeType&&!e.classList.contains(t);for(;r(n);)n=n.parentNode;return n.classList&&n.classList.contains(t)?n:null})(n.target,e);r&&t.call(r,n)})(t,n)}),o.addEventListener(e,i[a],r)},off:(e,t,n,r={},o=document.body)=>{o.removeEventListener(e,i[`${t}--${e}`],r)},attachEvent(e,n,r,o={}){const i=[].slice.call(t.querySelectorAll(n));for(let t=0;t{r=window.pageYOffset,e.classList.add("searchV2__noscroll"),e.style.top=`-${r}px`;const o=()=>{n(),t.removeEventListener("transitionend",o)};t.classList.add("searchV2--animate","searchV2--opened"),t.addEventListener("transitionend",o)},close:()=>{e.classList.remove("searchV2__noscroll"),e.style.top="",window.scrollTo(0,r),r=0,t.classList.remove("searchV2--opened");const n=()=>{o(),t.classList.remove("searchV2--animate"),t.removeEventListener("transitionend",n)};t.addEventListener("transitionend",n)},btnReset:{set display(e){const n="show"===e?"block":"none";t.querySelector(".searchV2__header__btn-reset").style.display=n}}}};var N=(e={})=>{const{debugMode:t=!1,handleGA:n}=e,r="busca_framework",o=(...e)=>(t&&(console.group("Search tracking"),console.log([r,...e]),console.groupEnd("Search tracking")),n(["_trackEvent",r,...e]));return{search:e=>o("item buscado",e),loadSuggest:e=>o("suggest carregado",e),clickItem:e=>{o("suggests",`clique | navegacional | ${e}`)},open:()=>o("abrir busca","abrir busca",!0),close:()=>o("fechar busca","fechar busca",!0),focus:()=>o("foco campo","foco campo",!0)}};const M=({keyCode:e})=>-1===[13].indexOf(e)?Promise.resolve():Promise.reject(),q=(e="")=>`${b().home}busca/?q=${e}`,U={combate:{name:"combate_terciario",width:14},g1:{name:"g1_primario",width:18},globo:{name:"globocom_terciario",width:16},ge:{name:"globoesporte_secundario",width:19},globonews:{name:"globonews_terciario",width:21},ego:{name:"ego_terciario",width:18},cartola:{name:"cartola_terciario",width:18},globoplay:{name:"globoplay_terciario_color",width:24},globosatplay:{name:"globosatplay_terciario",width:16},gshow:{name:"gshow_terciario",width:16},sportv:{name:"sportv_terciario",width:16},techtudo:{name:"techtudo_secundario",width:12}},B=e=>{const t=e.publisher?e.publisher.toLowerCase():"";return{title:e.title||e.text,type:e.type||"searched",url:e.url||q(e.title||e.text),score:e.score||null,publisher:t||"",icone:U[t]?U[t].name:"eixo-icone-busca",iconeWidth:U[t]?U[t].width:22,parent:e.parent||""}},D={data:{}},F={transformPreSuggest:e=>[...(({searchHistoryHtml:e,limitResult:t})=>e?[{title:"Buscas Recentes",type:"block-title"},...e.reverse().slice(0,t).map(({data:e})=>B(e))]:[])(e),...(({preSuggest:e=D,limitHistory:t})=>e.data.suggestions?[{title:"Mais buscados",type:"block-title"},...e.data.suggestions.slice(0,t).map(B)]:[])(e)],transformSuggest:e=>t=>[...t.data.featured_content.slice(0,t.limitResult).map(e=>{const t=Object.assign({},e,{type:"feature_content"});return B(t)}),...t.data.suggestions.slice(0,t.limitHistory).map(B),(e=>B({title:e,type:"default-item"}))(e)].filter(e=>!e.url.includes("/valor-ri/empresa")),baseSVGPath:"svg/sprite.min.svg",afterClose:null,className:"",placeholder:"o que você procura?",transitionDuration:null,limitResult:3,limitHistory:4,debugMode:!1,minLength:3,handleGA:e=>e,insertHTML(e){document.body.insertAdjacentHTML("beforeEnd",e)}};var $=(e={})=>{const t=Object.assign({},F,e),{renderPreSuggest:n,renderSuggest:r,handleSuggestError:o}=R(t),i=N(t),a=I(t),s=t.minLength,c=()=>{a.btnReset.display="hide",a.term=""},u=e=>{e.stopPropagation(),e.preventDefault();const t=a.term.trim();O(t,s).then((e=>()=>{E({title:e,url:q(e),score:null}),i.search(e),window.location.href=q(e)})(t)).catch(o)},l=P([k],function(e){e.stopPropagation(),e.preventDefault();const t=this.getAttribute("data-search-url"),n=unescape(this.getAttribute("data-search-title"));"feature_content"===this.getAttribute("data-search-type")?i.clickItem(t):i.search(n),E({url:t,title:n,publisher:this.getAttribute("data-search-publisher"),score:this.getAttribute("data-search-score")})}),p=()=>{i.close(),a.close()},f=P([M,C,({target:e})=>(a.btnReset.display=e.value.length<=0?"hide":"show",Promise.resolve())],e=>{const t=e.target.value.trim();r(t).then(()=>{a.attachEvent("click",".searchV2__item a",function(){const e=this.parentNode.getAttribute("data-search-url");i.clickItem(e)}),i.loadSuggest(t)})}),d=P([k],e=>{n().then(c),e.preventDefault(),e.stopPropagation()}),h=P([k],p),m=()=>{i.focus()},g=()=>{a.attachEvent("focus",".searchV2__header__term",m).attachEvent("keyup",".searchV2__header__term",f).attachEvent("touchstart",".searchV2__header__btn-back",h,{passive:!0}).attachEvent("touchstart",".searchV2__header__btn-reset",d,{passive:!0}).attachEvent("submit",".searchV2__header__form",u),a.on("touchstart","searchV2__item",l,{passive:!0})};return{open:()=>{n().then(c),i.open(),a.afterClose=(()=>{"function"==typeof t.afterClose&&t.afterClose(),a.detachEvent("focus",".searchV2__header__term",m).detachEvent("keyup",".searchV2__header__term",f).detachEvent("touchstart",".searchV2__header__btn-back",h,{passive:!0}).detachEvent("touchstart",".searchV2__header__btn-reset",d,{passive:!0}).detachEvent("submit",".searchV2__header__form",u).detachEvent("touchstart",".searchV2__item",l,{passive:!0}),a.off("touchstart","searchV2__item",l,{passive:!0})}),a.open(g)},close:p}},H=n(5),V=n.n(H),W=n(6),G=n.n(W),z=function(e){var t=document.createElement("div");t.className="search-suggest__menu-group";return{root:t,render:function(n){var r=n.label,o=n.items,i=n.onClick;if(!o.length)return null;var a=document.createElement("p");a.className="search-suggest__menu-label",a.innerHTML="".concat('\n \n'," ").concat(r);var s=document.createElement("ul");s.className="search-suggest__menu-list",o.forEach(function(e){var t=document.createElement("li");t.innerHTML='').concat(e.label,""),s.appendChild(t),i&&t.addEventListener("click",function(t){i(t,e)})}),t.appendChild(a),t.appendChild(s),e.appendChild(t)}}};function J(e){for(;e.firstChild;)e.removeChild(e.firstChild)}var X=function(e){var t=document.createElement("div");t.className="search-screen search-screen--cover",e.appendChild(t);return{root:t,render:function(e){var n=e.latestSearches,r=e.suggestions;J(t),n.length>0&&z(t).render({label:"Recentes",items:n}),r.length>0&&z(t).render({label:"Mais buscados",items:r})},show:function(){t.classList.add("search-screen--is-active")},hide:function(){t.classList.remove("search-screen--is-active")}}},Q=function(e){var t=document.createElement("aside");t.className="search-suggest search-suggest__menu";return{root:t,render:function(){e.appendChild(t)},show:function(){t.classList.add("search-suggest--is-active"),t.classList.remove("search-suggest--is-disable")},hide:function(){t.classList.remove("search-suggest--is-active"),setTimeout(function(){t.classList.add("search-suggest--is-disable")},300)}}},Y=n(3),K=n.n(Y),Z=function(e){var t=e.searchUrl,n=e.term,r=e.label;return{url:"".concat(t,"/?q=").concat(encodeURIComponent(n)),label:r,term:n}},ee={valorinternational:"Results",other_tenant:"Resultados"},te={valorinternational:"search for",other_tenant:"buscar por"},ne=function(e){var t=document.createElement("div");t.className="search-screen search-screen--suggest",e.appendChild(t);return{root:t,render:function(e){var n=e.searchUrl,r=e.search,o=e.suggestions,i=void 0===o?[]:o,a=e.onClick,s=void 0===a?null:a;J(t);var c=K()(i),u=Z({searchUrl:n,term:r,label:"".concat(te.other_tenant,' "').concat(r,'"')});c.push(u),c.length>0&&z(t).render({label:ee.other_tenant,items:c,onClick:s})},show:function(){t.classList.add("search-screen--is-active")},hide:function(){t.classList.remove("search-screen--is-active")}}},re=function(e){var t=e.cacheLimit,n=void 0===t?3:t,r="search_suggest_latest",o={get:function(e){return JSON.parse(localStorage.getItem(e))},set:function(e,t){localStorage.setItem(e,JSON.stringify(t))},clear:function(){localStorage.clear()}},i=function(){return o.get(r)||[]};return{get:i,add:function(e){if(e.label=e.term,e.label){var t=i()||[];return t=[e].concat(K()(t)),o.set(r,t.slice(0,n)),o.get(r)||[]}},clear:function(){o.set(r,null)}}},oe=n(4),ie=n.n(oe),ae=n(1),se=n.n(ae),ce=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o="".concat(e,"/suggest?size=").concat(n);return t&&(o+="&prioritarios=".concat(encodeURIComponent(t))),r&&(o+="&q=".concat(encodeURIComponent(r))),o};return{getCoverItems:function(){var t=ie()(se.a.mark(function t(){var r,o,i,a,s=arguments;return se.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=s.length>0&&void 0!==s[0]?s[0]:3,t.prev=1,t.next=4,fetch(n(r));case 4:return i=t.sent,t.next=7,i.json();case 7:o=t.sent,t.next=14;break;case 10:return t.prev=10,t.t0=t.catch(1),console.error("[SearchSuggest]",t.t0),t.abrupt("return",[]);case 14:return a=o.suggestions||[],t.abrupt("return",a.map(function(t){return Z({searchUrl:e,term:t,label:t})}));case 16:case"end":return t.stop()}},t,null,[[1,10]])}));return function(){return t.apply(this,arguments)}}(),getSuggestItems:function(){var r=ie()(se.a.mark(function r(o){var i,a,s,c,u,l=arguments;return se.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return i=l.length>1&&void 0!==l[1]?l[1]:3,r.prev=1,r.next=4,fetch(n(i,o));case 4:return s=r.sent,r.next=7,s.json();case 7:a=r.sent,r.next=14;break;case 10:return r.prev=10,r.t0=r.catch(1),console.error("[SearchSuggest]",r.t0),r.abrupt("return",[]);case 14:return c=(c=a.suggestions||[]).map(function(t){return Z({searchUrl:e,term:t,label:t})}),u=a.featured_content||[],t&&(u=u.filter(function(e){return e.product===t})),u=u.map(function(e){return{url:e.url,label:e.title}}),r.abrupt("return",[].concat(K()(c),K()(u)));case 20:case"end":return r.stop()}},r,null,[[1,10]])}));return function(e){return r.apply(this,arguments)}}()}},ue=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};V()(this,e),this._options=t,this.root=document.querySelector(this._options.rootSelector),this.input=document.querySelector(this._options.inputSelector),this.form=this.root.querySelector("form"),this.search="";var n=window.location,r=(this._options.searchUrl||this.root.getAttribute("data-search-url")||"").trim()||"".concat(n.protocol,"/").concat(n.host,"/busca/");this.searchUrl=r.replace(/\/+$/g,""),this.searchTenant=this._options.searchTenant||this.root.getAttribute("data-search-tenant")||null,this.main=Q(this.root),this.main.render(),this.cover=X(this.main.root),this.suggest=ne(this.main.root),this.suggestService=ce(this.searchUrl,this.searchTenant),this.latestStorage=re({cacheLimit:3}),this.handleOpen=this.handleOpen.bind(this),this.handleClose=this.handleClose.bind(this),this.handleSuggest=this.handleSuggest.bind(this),this.handleClickSuggestion=this.handleClickSuggestion.bind(this),this.handleSubmit=this.handleSubmit.bind(this),this.bind()}return G()(e,[{key:"handleOpen",value:function(){this.search=this.input.value.trim(),this.render(),this.main.show()}},{key:"handleClose",value:function(){this.main.hide()}},{key:"handleSuggest",value:function(e){this.search=e.target.value.trim(),this.render()}},{key:"handleClickSuggestion",value:function(e,t){this.latestStorage.add(t)}},{key:"handleSubmit",value:function(){this.latestStorage.add(Z({searchUrl:this.searchUrl,term:this.search}))}},{key:"bind",value:function(){this.input.addEventListener("focus",this.handleOpen),this.input.addEventListener("blur",this.handleClose),this.input.addEventListener("keyup",this.handleSuggest),this.form&&this.form.addEventListener("submit",this.handleSubmit)}},{key:"render",value:function(){var e=this;this.search?this.suggestService.getSuggestItems(this.search).then(function(t){e.suggest.render({searchUrl:e.searchUrl,search:e.search,suggestions:t,onClick:e.handleClickSuggestion}),e.suggest.show(),e.cover.hide()}):this.suggestService.getCoverItems().then(function(t){var n=e.latestStorage.get();e.cover.render({latestSearches:n,suggestions:t}),e.cover.show(),e.suggest.hide()})}}]),e}(),le=function(){var e=document.getElementById("header"),t=document.querySelector(".header-lift"),n=e.scrollHeight/2,r=e.classList.contains("header--has-gcom-bar"),o=window.pageYOffset;new ue({rootSelector:".header__search ",inputSelector:".header__search__input"});var i=$({baseSVGPath:""}),a=document.querySelector(".header__search__icon")||document.querySelector(".header__search__icon_vi")||document.querySelector(".header__search__icon_usp");a&&a.addEventListener("click",function(e){e.preventDefault(),s()||i.open()});var c=function(){var i=window.pageYOffset,a=e.classList.contains("header--fixed"),c=e.classList.contains("header--fixed");e.classList.contains("header--internal")&&s()&&!r||(s()?i>=n&&!a?(e.classList.add("header--fixed"),t.classList.add("header--fixed")):ie.scrollHeight?(e.classList.add("header--preanim"),o>i?e.classList.add("header--fixed"):e.classList.remove("header--fixed")):(e.classList.remove("header--preanim"),e.classList.remove("header--fixed")),o=i))};c(),document.addEventListener("scroll",c),window.addEventListener("resize",c);var u=document.getElementById("btn_cbn_ao_vivo");u&&u.addEventListener("click",function(){var e=function(e){var t=("; "+document.cookie).split("; "+e+"=");if(2===t.length)return t.pop().split(";").shift()}("station");if(e){var t=window.location.origin+"/ao-vivo/"+e;window.open(t,"_blank")}else{var n=window.location.origin+"/ao-vivo/cbn-sp";window.open(n,"_blank")}})};n(24);var pe=function(e){return"click"!==e.type&&new Promise(t=>{let n=null,r=null;const o=e.timeStamp,i=e=>{n=e.touches[0].clientX,r=e.touches[0].clientY},a=e=>{this.removeEventListener("touchend",a,{passive:!0}),this.removeEventListener("touchmove",i,{passive:!0}),(e=>!n&&!r&&e-o<=300)(e.timeStamp)&&t()};this.addEventListener("touchmove",i,{passive:!0}),this.addEventListener("touchend",a,{passive:!0})})};var fe=(()=>{let e=!0;return()=>new Promise(t=>{setTimeout(()=>{e=!0},500),e&&(e=!1,t())})})();var de=(e=[])=>t=>(function(n){const r=e.map(e=>e.call(this,n));return Promise.all(r).then(()=>{t.call(this,n)}).catch(()=>!1)});const he=(e,t=document)=>t.querySelector(e),me=(e,t=document)=>t.querySelectorAll(e),ge=(e,t,n,r)=>{t.addEventListener(e,n,r)},ye=(e,t,n,r={})=>{if(t.length)for(let o=0;o{if(t.length)for(let o=0;o{const i=`${t}--${e}`;be=Object.assign({},be,{[i]:((e,t)=>n=>{const r=((e,t)=>{let n=e;const r=e=>1===e.nodeType&&!e.classList.contains(t);for(;r(n);)n=n.parentNode;return n.classList&&n.classList.contains(t)?n:null})(n.target,e);r&&t.call(r,n)})(t,n)}),o.addEventListener(e,be[i],r)},_e=(e,t,n,r={},o=document.body)=>{o.removeEventListener(e,be[`${t}--${e}`],r)},xe=e=>[].slice.call(e),Se=(e,t)=>{const n={back:``,next:``};return`data:image/svg+xml;charset=utf8,${encodeURIComponent(n[e]||"")}`};var Ee=(e={})=>{const t=document.querySelector("#menu-curtain"),n=document.querySelector("#menu-container"),{onClose:r}=e;let o=null,i=!1,a=null,s=null,c=null,u=null;let l,p=!1;const f=()=>{p=!0},d=()=>{if(i&&!p&&(window.requestAnimationFrame(d),o&&Math.abs(o-Math.abs(c))>=30)){const e=Math.min(0,c-a),r=Math.max(0,.7+e/l);n.style.transform=`translateX(${e}px)`,o=c,t.style.opacity=r}},h=function(e){a=e.touches[0].pageX,s=e.touches[0].pageY,c=a,u=s,o=a,i=t.classList.contains("menu-curtain--opened"),ye("scroll",me(".menu-level",n),f,{passive:!0}),window.requestAnimationFrame(d)},m=function(e){i&&!p&&(c=e.touches[0].pageX,u=e.touches[0].pageY)},g=function(){if(!i)return;i=!1,p=!1,o=null;const e=Math.min(0,c-a),l=Math.abs(u-s);ve("scroll",me(".menu-level",n),f,{passive:!0}),n.style.transform="",t.style.opacity="",l<=Math.abs(e)&&e<0&&r()};return{open:()=>{ye("scroll",me(".menu-level",n),f,{passive:!0}),document.addEventListener("touchstart",h,{passive:!0}),document.addEventListener("touchmove",m,{passive:!0}),document.addEventListener("touchend",g,{passive:!0}),l=n.getBoundingClientRect().width},close:()=>{i=!1,p=!1,document.removeEventListener("touchstart",h,{passive:!0}),document.removeEventListener("touchmove",m,{passive:!0}),document.removeEventListener("touchend",g,{passive:!0}),ve("scroll",me(".menu-level",n),f,{passive:!0})}}};let Ae=!1;var je=(e={})=>{if(Ae)return!0;const{container:t,cadunServiceId:n,cadunLoginURL:o,cadunUsePopin:i}=e,{qs:a}=r,s=de([fe,pe]),c=a(".menu-login",t),u=a("a.menu-login__item-login__link",c),l=a(".menu-login__item-logout",c),p=a("a.menu-login__item-logout__link",c),f=a(".menu-login__item__name",c),d=a(".menu-login__item__avatar",c),h=a(".menu-login__item__icon--avatar",c),m=a(".menu-login--logged",c),g=a(".menu-login--not-logged",c),y=()=>{const e=window.Cadun.user.me;return"name"in e&&""!==e.name},v=e=>{g.style.display=e[0],l.style.display=e[1],m.style.display=e[2]},b=()=>{window.Cadun.logout(()=>{window.location.href=window.location.href})},w=e=>{y()&&(p.addEventListener("click",e=>e.preventDefault()),p.addEventListener("click",s(b),{passive:!0}),p.addEventListener("touchstart",s(b),{passive:!0}),v(["none","block","flex"]),(e=>{d&&h&&(e.picture?(d.innerHTML=`Vogue - astrologia horoscopo (1)`,d.style.display="block",h.style.display="none"):(d.innerHTML="",d.style.display="none",h.style.display="block"))})(e),f.textContent=e.name.split(" ")[0])},_=e=>{if(e.stopPropagation(),!i&&o){const e=window.location.href,t=`${o}/login/${n}?url=${e}`;window.location.href=t}else window.Cadun.login(n,window.location.href,!1,w,void 0,{_ga:window.utag_data.galinker,glbProduct:window.utag_data.productGAId,component:"menu_mobile"})},x=()=>{u.addEventListener("click",e=>e.preventDefault()),u.addEventListener("click",s(_)),u.addEventListener("touchstart",s(_),{passive:!0}),window.Cadun.Event.subscribe("userInfoAvailable",()=>{const e=window.Cadun.user.me;y()?w(e):y()||v(["block","none","none"])})};return window.cq=window.cq||[],window.cq.push({ready:e=>{e.authorize(n,e=>{"authorized"===e.status?w(e):v(["block","none","none"]),x()})}}),Ae=!0,!0};var Le=(e={})=>{const{debugMode:t=!1,handleGA:n}=e,r=(...e)=>(t&&(console.group("menu tracking"),console.log(["menu mobile",...e]),console.groupEnd("menu tracking")),n(["_trackEvent","menu mobile",...e])),o=e=>{const t=[e.querySelector(".menu-item-title").textContent];let n=e;for(;n&&"menu-cascade"!==n.id;n=n.parentNode)n.classList.contains("is-father")&&t.push(n.querySelector(".menu-btn-back__label").textContent);return t.pop(),t.reverse().join(" > ")};return{push:e=>{const t=e.classList;if(t.contains("menu-btn-back")){const t=e.querySelector(".menu-btn-back__label").textContent,n=e.parentElement.querySelector(".regua-navegacao-menu-item").textContent;r("navegacao",`back | ${n} > ${t}`,0,!0)}else if(t.contains("is-father"))r("navegacao",o(e),0,!0);else{const t=e.querySelector(".menu-item-title").textContent,n=o(e.parentElement.parentElement);r("links clicaveis",n?`${n} > ${t}`:t)}},makeTracking:r}};const ke={debug:!1,color:"#000",cadunServiceId:4728,cadunLoginURL:null,cadunUsePopin:!0,handleGA(){}};var Ce=(e={})=>{const t=Object.assign({},ke,e),{qs:n,qsAll:o,attachEvent:i,toArray:a,on:s,off:c}=r,u=Le(t),l=document.body,p=document.documentElement,f=n("#menu-container"),d=n("#menu-curtain"),h=n(".menu-level-0",f),m=n(".menu-level--opened",f)||n(".menu-level",f),g=n(".menu-rounder",f),y=n(".menu-btn-back__label",f),v=y&&y.textContent,b=n(".menu-btn-back__label",m),w=b&&b.textContent;let _=0;const x=de([fe,pe]),S=+m.classList.contains("menu-level--opened");let E=S;const A=f.dataset.menuWidth||272,j=e=>{b&&(b.textContent=e)};j(v);const L=e=>{g.style.transform=`translateX(-${e*A}px)`,f.scrollTop=0},k=()=>{const e=a(o(".menu-level--opened",f));e.pop().classList.remove("menu-level--opened","first-layer");const t=e.pop();t&&t.classList.add("first-layer"),t||h.classList.add("first-layer","menu-level--opened"),E>0||(g.classList.add("menu-rounder--opened-all"),j(w)),g.removeEventListener("transitionend",k)},C=e=>{"function"==typeof e&&setTimeout(e,150)},O=x(function(){u.push(this),C(()=>{(E=E-1<=0?0:E-1)<1&&n(".menu-initial",f)&&(E=0,g.classList.remove("menu-initial")),L(E),g.addEventListener("transitionend",k)})}),P=x(function(){const e=this.parentNode;u.push(e),e.classList.contains("is-father")?C(()=>{const t=+!!n(".menu-level",e);E+=t;const r=e.parentNode;"UL"===r.nodeName&&r.classList.remove("first-layer"),n(".menu-level",e).classList.add("menu-level--opened","first-layer"),L(E)}):this.target?window.open(this.href,this.target):window.location.href=this.href}),T=e=>e.preventDefault(),R=function(){u.makeTracking("links clicaveis",this.dataset.trackingLabel)},I=function(){const e=this.querySelector(".regua-navegacao-menu-item").textContent;u.makeTracking("links nao clicaveis",e)},N=()=>{.14===_&&(l.classList.remove("menu--no-scroll"),p.classList.remove("menu--no-scroll"),a(o(".menu-level--opened",f)).forEach(e=>{e.classList.remove("menu-level--opened")}),_=0,m.classList.add("menu-level--opened"),S&&g.classList.add("menu-initial"),g.classList.remove("menu-rounder--opened-all"),g.style.transform="",E=S,j(v),d.classList.remove("menu-curtain--animate"),h.classList.remove("menu-level--opened"),c("click","menu-btn-back",T),c("click","menu-btn-back",O,{passive:!0}),c("touchstart","menu-btn-back",O,{passive:!0}),c("click","menu-item-link",T),c("click","menu-item-link",P,{passive:!0}),c("touchstart","menu-item-link",P,{passive:!0}),c("click","menu-products-logo__link",R),c("click","menu-submenu-title",I),f.removeEventListener("transitionend",N))},M=e=>{d.classList.remove("menu-curtain--opened"),_=.14,e?(u.makeTracking("interacoes menu","swipe menu fechado"),e.close()):u.makeTracking("interacoes menu","click menu fechado"),f.addEventListener("transitionend",N)},q=Ee({onClose:()=>{M(q)}}),U=()=>{S||(g.classList.add("menu-rounder--opened-all"),g.classList.remove("menu-initial"))},B=()=>{n(S?".menu-level--opened":".menu-level-0",f).classList.add("menu-level--opened","first-layer"),s("click","menu-btn-back",T),s("click","menu-btn-back",O,{passive:!0}),s("touchstart","menu-btn-back",O,{passive:!0}),s("click","menu-item-link",T),s("click","menu-item-link",P,{passive:!0}),s("touchstart","menu-item-link",P,{passive:!0}),s("click","menu-products-logo__link",R),s("click","menu-submenu-title",I),q.open(),f.removeEventListener("transitionend",B)},D=e=>{"menu-curtain"===e.target.id&&(M(),q.close())};return U(),E&&n(".menu-initial",f).classList.add("menu-loaded"),f.style.display="block",((e={})=>{const{color:t}=e,n=document.createElement("style"),r=Se("back",t),o=document.createTextNode(`.menu-btn-back__icon { background-image: url('${r}'); }`),i=Se("next",t),a=document.createTextNode(`.menu-item-arrow { background-image: url('${i}') }`),s=document.createTextNode(`.menu-product-color { color: ${t}; }`);n.appendChild(o),n.appendChild(a),n.appendChild(s),document.head.appendChild(n)})(t),i("touchstart",d,x(D),{passive:!0}),i("click",d,x(D),{passive:!0}),{toggle:(e=null)=>{(null!==e?e:!d.classList.contains("menu-curtain--opened"))?(_=.33,l.classList.add("menu--no-scroll"),p.classList.add("menu--no-scroll"),d.classList.add("menu-curtain--opened","menu-curtain--animate"),U(),u.makeTracking("interacoes menu","click menu exibido"),f.addEventListener("transitionend",B),je({container:f,cadunServiceId:t.cadunServiceId,cadunLoginURL:t.cadunLoginURL,cadunUsePopin:t.cadunUsePopin})):(M(),q.close())}}},Oe=function(){function e(){V()(this,e),this.handleMenuToggle=this.handleMenuToggle.bind(this),this.menuEl=document.getElementById("menu-toggle"),this.productColor=this.menuEl.getAttribute("data-product-color"),this.navigateByArrow=window.header_data_navigation_by_arrow||!1;this.menuEl.getAttribute("data-cadun-service-id"),this.menuEl.getAttribute("data-cadun-login-url");var t="true"===this.menuEl.getAttribute("data-cadun-use-popin");try{this.menu=Ce({color:this.productColor,navigateByArrow:this.navigateByArrow,cadunUsePopin:t,handleGA:function(e){window._gaq&&window._gaq.push(e)}}),this.initEvents()}catch(e){console.error("Erro ao renderizar o menu: ",e)}}return G()(e,[{key:"handleMenuToggle",value:function(e){e.stopPropagation(),this.menu.toggle()}},{key:"initEvents",value:function(){this.menuEl.addEventListener("click",this.handleMenuToggle)}}]),e}(),Pe=function(){if(document.querySelector("#gcom-bar-container")){glb.menuV2={color:"#1e4c9a"};var e=window.gcomBarUseCustomUrl,t="True"===e?window.gcomBarcustomUrl:"",n="True"===e?window.gcomBarcustomUrlTitle:"",r="True"===e?window.gcomBarcustomUrlTitleColor:"";glb.barra={resolveGloboIdJs:function(){return globalWebdeps("globoid-js")},incluirComScore:!1,exibeAssineJa:!1,useVintage:!0,exibeCentral:!1,itemCustomizado:{cor:"".concat(r),texto:"".concat(n),url:"".concat(t)}},function(){var e=document.createElement("script");e.type="text/javascript",e.async=!0,e.charset="utf-8",e.src="https://s.glbimg.com/gl/ba/js/barra-globocom.min.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()}},Te=function(){var e=document.querySelector(".header__search__right");if(window.oidcSettings&&e){var t=document.querySelector(window.oidcSettings.loginAreaContainer[0].rootElement);new MutationObserver(function(n,r){n.forEach(function(n){"childList"===n.type&&n.addedNodes&&(t.appendChild(e),r.disconnect())})}).observe(t,{attributes:!1,childList:!0,characterData:!1})}},Re=function(){function e(){V()(this,e),this.exposem*nuListItemEl=document.querySelectorAll('li[class="expose-menu"]'),this.toggleSubmenu,this.handleMouseOver=this.handleMouseOver.bind(this),this.registerHandlers()}return G()(e,[{key:"handleToggleSubItems",value:function(e,t){var n=t.toggled,r=void 0!==n&&n,o=t.element;if(!0===r){var i=o.lastChild.previousElementSibling;i.removeAttribute("hidden");var a=o.querySelector('a[class="menu-exposto__item"]'),s=o.querySelector('i[class="arrow up"]'),c=o.querySelector('i[class="arrow down"]');s.removeAttribute("hidden"),c.setAttribute("hidden",!0),a.style.opacity=.6,o.onmouseleave=function(e){var t=e.toElement||e.relatedTarget;"menu-expose-dropdown-list-item"!==t.className&&"menu-expose-dropdown-list-link"!==t.className&&(a.style.opacity=1,s.setAttribute("hidden",!0),c.removeAttribute("hidden"),i.setAttribute("hidden",!0))};var u=document.getElementById("header");document.addEventListener("scroll",function(e){u.className.includes("--fixed")&&(a.style.opacity=1,c.removeAttribute("hidden"),i.setAttribute("hidden",!0))})}}},{key:"handleMouseOver",value:function(e){var t=this;e.lastChild.previousElementSibling&&(Array.from(e.childNodes).find(function(e){return"menu-item-section"===e.className}).firstElementChild.onmouseover=function(n){return t.handleToggleSubItems(n,{toggled:!0,element:e})})}},{key:"registerHandlers",value:function(){this.exposem*nuListItemEl&&Array.from(this.exposem*nuListItemEl).map(this.handleMouseOver)}}]),e}();le(),new Re,new Oe,Pe(),Te()}]);!function(t){var e={};function o(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=t,o.c=e,o.d=function(t,e,r){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)o.d(r,i,function(e){return t[e]}.bind(null,i));return r},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=4)}([function(t,e,o){var r=o(2)();t.exports=r;try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(t,e){function o(t,e,o,r,i,n,a){try{var c=t[n](a),s=c.value}catch(t){return void o(t)}c.done?e(s):Promise.resolve(s).then(r,i)}t.exports=function(t){return function(){var e=this,r=arguments;return new Promise(function(i,n){var a=t.apply(e,r);function c(t){o(a,i,n,c,s,"next",t)}function s(t){o(a,i,n,c,s,"throw",t)}c(void 0)})}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,o){var r=o(3).default;function i(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=i=function(){return o},t.exports.__esModule=!0,t.exports.default=t.exports;var e,o={},n=Object.prototype,a=n.hasOwnProperty,c=Object.defineProperty||function(t,e,o){t[e]=o.value},s="function"==typeof Symbol?Symbol:{},u=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",d=s.toStringTag||"@@toStringTag";function h(t,e,o){return Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{h({},"")}catch(e){h=function(t,e,o){return t[e]=o}}function p(t,e,o,r){var i=e&&e.prototype instanceof O?e:O,n=Object.create(i.prototype),a=new C(r||[]);return c(n,"_invoke",{value:E(t,o,a)}),n}function f(t,e,o){try{return{type:"normal",arg:t.call(e,o)}}catch(t){return{type:"throw",arg:t}}}o.wrap=p;var g="suspendedStart",v="suspendedYield",y="executing",_="completed",m={};function O(){}function w(){}function b(){}var L={};h(L,u,function(){return this});var G=Object.getPrototypeOf,x=G&&G(G(j([])));x&&x!==n&&a.call(x,u)&&(L=x);var D=b.prototype=O.prototype=Object.create(L);function S(t){["next","throw","return"].forEach(function(e){h(t,e,function(t){return this._invoke(e,t)})})}function k(t,e){function o(i,n,c,s){var u=f(t[i],t,n);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==r(d)&&a.call(d,"__await")?e.resolve(d.__await).then(function(t){o("next",t,c,s)},function(t){o("throw",t,c,s)}):e.resolve(d).then(function(t){l.value=t,c(l)},function(t){return o("throw",t,c,s)})}s(u.arg)}var i;c(this,"_invoke",{value:function(t,r){function n(){return new e(function(e,i){o(t,r,e,i)})}return i=i?i.then(n,n):n()}})}function E(t,o,r){var i=g;return function(n,a){if(i===y)throw Error("Generator is already running");if(i===_){if("throw"===n)throw a;return{value:e,done:!0}}for(r.method=n,r.arg=a;;){var c=r.delegate;if(c){var s=N(c,r);if(s){if(s===m)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===g)throw i=_,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=y;var u=f(t,o,r);if("normal"===u.type){if(i=r.done?_:v,u.arg===m)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(i=_,r.method="throw",r.arg=u.arg)}}}function N(t,o){var r=o.method,i=t.iterator[r];if(i===e)return o.delegate=null,"throw"===r&&t.iterator.return&&(o.method="return",o.arg=e,N(t,o),"throw"===o.method)||"return"!==r&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var n=f(i,t.iterator,o.arg);if("throw"===n.type)return o.method="throw",o.arg=n.arg,o.delegate=null,m;var a=n.arg;return a?a.done?(o[t.resultName]=a.value,o.next=t.nextLoc,"return"!==o.method&&(o.method="next",o.arg=e),o.delegate=null,m):a:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,m)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function j(t){if(t||""===t){var o=t[u];if(o)return o.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function o(){for(;++i=0;--i){var n=this.tryEntries[i],c=n.completion;if("root"===n.tryLoc)return r("end");if(n.tryLoc<=this.prev){var s=a.call(n,"catchLoc"),u=a.call(n,"finallyLoc");if(s&&u){if(this.prev=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev=0;--e){var o=this.tryEntries[e];if(o.finallyLoc===t)return this.complete(o.completion,o.afterLoc),I(o),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc===t){var r=o.completion;if("throw"===r.type){var i=r.arg;I(o)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,o,r){return this.delegate={iterator:j(t),resultName:o,nextLoc:r},"next"===this.method&&(this.arg=e),m}},o}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function o(e){"@babel/helpers - typeof";return t.exports=o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,o(e)}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,o){"use strict";o.r(e);var r=o(1),i=o.n(r),n=o(0),a=o.n(n);const c="debug",s=Object.freeze({oglobo:{id:"3981",id_simple:"6907",cod_prod:"OG03",isOidcLogin:!1,isNewLoginService:!0,productGroup:"oglobo"},valor:{id:"6668",id_simple:"6908",cod_prod:"valordigital",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},valoroneinterno:{id:"7097",id_simple:"6908",cod_prod:" valor-one",isOidcLogin:!1,isNewLoginService:!0,productGroup:""},monet:{id:"6618",id_simple:"6618",cod_prod:"monet",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},autoesporte:{id:"6613",id_simple:"6613",cod_prod:"auto-esporte",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},vogue:{id:"6614",id_simple:"6614",cod_prod:"vogue",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},glamour:{id:"6616",id_simple:"6616",cod_prod:"glamour",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},casavogue:{id:"6610",id_simple:"6610",cod_prod:"casa-vogue",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},marieclaire:{id:"6609",id_simple:"6609",cod_prod:"marie-claire",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},globorural:{id:"6621",id_simple:"6612",cod_prod:"globo-rural",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},gq:{id:"6622",id_simple:"6622",cod_prod:"gq",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},crescer:{id:"6620",id_simple:"6620",cod_prod:"crescer",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},galileu:{id:"6697",id_simple:"6697",cod_prod:"galileu",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},epocanegocios:{id:"6611",id_simple:"6611",cod_prod:"epoca-negocios",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},casaejardim:{id:"6619",id_simple:"6619",cod_prod:"casa-jardim",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},quem:{id:"6697",id_simple:"6697",cod_prod:"quem",isOidcLogin:!1,isNewLoginService:!1,productGroup:""},pegn:{id:"6615",id_simple:"6615",cod_prod:"pequenas-empresas",isOidcLogin:!1,isNewLoginService:!1,productGroup:""}}),u=Object.freeze({prod:{API_INFOGLOBO:"https://api.infoglobo.com.br/",MODE:"production"},qa:{API_INFOGLOBO:"https://apiqlt-ig.infoglobo.com.br/",MODE:"production"}}),l=5e3,d="UserDataGloboId";class h{constructor(t="oglobo",e="prod",o=!1){this.tenant=t,this.config={...s[t],...u[e]},this.config.MODE===c||this.config.MODE,this._setData({autorizado:!1,logado:!1,motivo:"",glbid:"",uuid:"",access_token:""})}async getData(){const t=this._getAccessToken(),e=this._getCookieCache(),o=this._getGLOBOID(),r=this._getGLBID(),i=this._getUTP();if(r||t)if(this._isCookieCacheValid()){const t=this._getCookieCacheData(e);this._setData(t),this.LOG("Cache setado",this.data)}else{if(t&&(this._setData({access_token:t}),this.LOG("Access Token setado",this.data)),r&&(this._setData({logado:!0,glbid:r}),this.LOG("GLBID setado",this.data)),o){const t=this._getGLOBOIDData(o);this._setData({...t,uuid:t.globoId}),this.LOG("GLOBO_ID setado",this.data)}if(i){const t=this._getUTPData(i);this._setData(t),this.LOG("_utp setado",this.data)}else await this._getBarramentoData();this._setCookieCache()}else h.eraseCookie(d);return this.data}static getCookie(t){var e=" "+document.cookie,o=" "+t+"=",r=e.indexOf(o);if(-1===r)return null;var i=r+o.length,n=e.indexOf(";",i);return-1!==n?e.substring(i,n):e.substring(i)}static setCookie(t,e,o){var r="";if(o){var i=new Date;i.setTime(i.getTime()+24*o*60*60*1e3),r="; expires="+i.toUTCString()}document.cookie=t+"="+(e||"")+r+"; path=/"}static eraseCookie(t){document.cookie=t+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"}_setData(t){"object"==typeof t&&(this.data={...this.data,...t})}_getUTPData(t){try{const e=decodeURIComponent(atob(t));return JSON.parse(e)}catch(t){throw new Error("[infoglobo-user-lib] Erro na conversão do cookie _utp")}}_getGLOBOIDData(t){try{const e=atob(t.split(".")[1]);return JSON.parse(e)}catch(t){throw new Error("[infoglobo-user-lib] Erro na conversão do cookie GLOBO_ID")}}_getCookieCacheData(t){try{return JSON.parse(t)}catch(t){throw new Error(`[infoglobo-user-lib] Erro na conversão do cookie ${d}`)}}async _getBarramentoData(){return new Promise((t,e)=>{setTimeout(async()=>{if(this.data.glbid||this.data.access_token)try{const t=this._getUTP(),o=this._getGLOBOID();if(o){const t=this._getGLOBOIDData(o);this._setData({...t,uuid:t.globoId}),this.LOG("Timeout GLOBO_ID setado",this.data)}if(t){const e=this._getUTPData(t);this._setData(e),this.LOG("Timeout _utp setado",this.data)}else this.data.access_token?await this._fetchDataV4(this.data.access_token):await this._fetchData()}catch(t){e(t)}t(this.data)},l)})}async _fetchData(){try{const t=`${this.config.API_INFOGLOBO}relacionamento/v3/funcionalidade/${this.config.id}/autorizacao-acesso`,e={ipUsuario:"127.0.0.1","token-autenticacao":this.data.glbid,codigoProduto:this.config.cod_prod},o=await fetch(t,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","ig-requestid":`infoglobo-user-lib-${(new Date).getTime()}`},body:JSON.stringify(e)}),r=await o.json();this._setData(r),this.LOG("Timeout Barramento v3 setado",this.data)}catch(t){throw new Error("[infoglobo-user-lib] Erro ao consultar a API")}}async _fetchDataV4(t){try{const e=`${this.config.API_INFOGLOBO}relacionamento/v4/autorizacao-acesso/${this.config.id_simple}/solicitacao-autorizacao/`,o={"token-acesso":t,codigoProduto:this.config.cod_prod},r=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","ig-requestid":`infoglobo-user-lib-${(new Date).getTime()}`},body:JSON.stringify(o)}),i=await r.json();this._setData(i),this.LOG("Timeout Barramento v4 setado",this.data)}catch(t){throw new Error("[infoglobo-user-lib] Erro ao consultar a API Barramento v4")}}_getAccessToken(){const t=`globoid-tokens-${window.oidcSettings.clientId}`,e=window.localStorage.getItem(t);return e?JSON.parse(e).access_token:void 0}_getGLBID(){return h.getCookie("GLBID")}_getUTP(){return h.getCookie("_utp")}_getGLOBOID(){return h.getCookie("GLOBO_ID")}_getCookieCache(){return h.getCookie(d)}_setCookieCache(){h.setCookie(d,JSON.stringify(this.data),1)}_isCookieCacheValid(){const t=this._getCookieCache(),e=this._getGLOBOID();if(t&&e){const o=this._getCookieCacheData(t),r=this._getGLOBOIDData(e);return o.globoId===r.globoId}return!1}LOG(t="",e={}){this.config.MODE===c&&console.log("[infoglobo-user-lib]",t,e)}}var p=h,f=function(){var t=window.location.hostname;return t.includes("local.globo.com")||t.includes("localhost")||t.includes(".qa.globoi.com")||t.includes(".qa01.globoi.com")||t.includes(".dev.globoi.com")?"qa":"prod"};if(window.tenant){var g=function(){var t=i()(a.a.mark(function t(){var e,o,r;return a.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=new p(v,y,!0),t.next=3,e.getData();case 3:o=t.sent,r=o.autorizado||!1,OneSignal.push(function(){OneSignal.sendTag("autorizado",r)});case 6:case"end":return t.stop()}},t)}));return function(){return t.apply(this,arguments)}}(),v=window.tenant?window.tenant:null,y=window.glb&&"function"==typeof window.glb.getCurrentEnv?window.glb.getCurrentEnv():f(),_=window.OneSignalConfig&&window.OneSignalConfig.tenantsNotReq?window.OneSignalConfig.tenantsNotReq:[];v&&!_.includes(v)?(g(),console.log("[ONESIGNAL] Tenant ".concat(v," - Sending tag to Onesignal"))):v?console.log("[ONESIGNAL] Tenant ".concat(v," - Tag not sent to Onesignal")):console.log("[ONESIGNAL] Tenant no definido - Tag not sent to Onesignal")}}]);/* web(desktop) critical javascript */"use strict";!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";r.r(t);r(1)},function(e,t,r){}]);!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";document.addEventListener("readystatechange",function(e){"interactive"===e.target.readyState&&new LGPD.CookieBanner})}]);//]]>

    Vogue - astrologia horoscopo (2024)
    Top Articles
    Latest Posts
    Article information

    Author: Neely Ledner

    Last Updated:

    Views: 6106

    Rating: 4.1 / 5 (62 voted)

    Reviews: 93% of readers found this page helpful

    Author information

    Name: Neely Ledner

    Birthday: 1998-06-09

    Address: 443 Barrows Terrace, New Jodyberg, CO 57462-5329

    Phone: +2433516856029

    Job: Central Legal Facilitator

    Hobby: Backpacking, Jogging, Magic, Driving, Macrame, Embroidery, Foraging

    Introduction: My name is Neely Ledner, I am a bright, determined, beautiful, adventurous, adventurous, spotless, calm person who loves writing and wants to share my knowledge and understanding with you.