É a de 1994, nos Estados Unidos, com o brasão da CBF como marca d’água? Ou a versão de 1982, com a taça no peito? Ou, se você for corajoso, a camisa de 2022, com a sua estampa de onça — que provocou diversas reações na última copa? Você pode votar abaixo em qual foi a melhor camisa da seleção brasileira de todos os tempos.
//<![CDATA[
!function(e){var t={};function o(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=t,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(i,n,function(t){return e[t]}.bind(null,n));return i},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=9)}([function(e,t){function o(t){return e.exports=o="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,o(t)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,o){var i=o(3);e.exports=function(e,t,o){return(t=i(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,o){var i=o(0).default,n=o(4);e.exports=function(e){var t=n(e,"string");return"symbol"===i(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,o){var i=o(0).default;e.exports=function(e,t){if("object"!==i(e)||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},,,,,function(e,t,o){"use strict";var i=o(1),n=i(o(2));function r(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,i)}return o}function s(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?r(Object(o),!0).forEach((function(t){(0,n.default)(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):r(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}o(10),o(11),o(12),o(13),o(14);var l=(0,i(o(15)).default)();window.utag_data=s(s({},window.utag_data),{},{direct_user_id:l.direct_user_id,direct_user_provider:l.direct_user_provider})},function(e,t,o){"use strict";!function(){var e=null,t=function(e,t){return function(){return e.apply(t,arguments)}};function o(e,t){var o=e.getBoundingClientRect(),i=t.getBoundingClientRect();return i.bottom<o.top||i.righto.right||i.top>o.bottom}function i(e){var t=document.defaultView.getComputedStyle(e),o=t.getPropertyValue(“overflow-x”),i=t.getPropertyValue(“overflow-y”);return”visible”!==o||”visible”!==i}function n(){return e||(e={add:t(this.addElement,this),clean:t(this.cleanItems,this),getItems:t(this.getItems,this),debug:t(this.debug,this)},this.onScroll=t(this.onScroll,this),this.onResize=t(this.onResize,this),this.items=[],this.setDefaultVariables(),e)}n.prototype.throttle=function(e){var t=!0;return function(o){t&&(e(o),t=!1,setTimeout((function(){return t=!0}),150))}},n.prototype.cleanItems=function(){this.items=[]},n.prototype.startListener=function(){window.addEventListener(“scroll”,this.throttle(this.onScroll)),window.addEventListener(“resize”,this.throttle(this.onResize))},n.prototype.stopListeners=function(){window.removeEventListener(“scroll”,this.throttle(this.onScroll)),window.removeEventListener(“resize”,this.throttle(this.onResize))},n.prototype.resetElementPosition=function(){var e;this.winHeight=window.innerHeight;for(var t=0,o=this.items.length;tt.pos?1:e.pos<t.pos?-1:0})),this.checkVisibleItems()},n.prototype.getElementPos=function(e){var t=this.getScrollY();return e.el.getBoundingClientRect()[e.reference]+t-e.offset},n.prototype.getScrollY=function(){var e;return"undefined"!=typeof pageYOffset?pageYOffset:(e=(e=document.documentElement).clientHeight?e:document.body).scrollTop},n.prototype.onResize=function(){this.throttle((function(){this.winHeight!==window.innerHeight&&this.resetElementPosition()}))},n.prototype.onScroll=function(e){this.checkDocumentHeight(),this.checkVisibleItems(e)},n.prototype.getItems=function(){return this.items},n.prototype.setDefaultVariables=function(){this.winHeight=window.innerHeight,this.lastPos=this.getScrollY(),this.docHeight=document.body?document.body.offsetHeight:0},n.prototype.addElement=function(e){var t,o;if(e.el){e.offset=void 0===e.offset?200:e.offset,e.reference=e.reference||"top",e.pos=this.getElementPos(e),o=this.items.length,t=0;for(var i=0,n=this.items.length;ie.pos);i++)t++;this.items.splice(t,0,e),0===o&&(this.setDefaultVariables(),this.startListener()),this.checkVisibleItems()}},n.prototype.checkDocumentHeight=function(){var e=document.body.offsetHeight;this.docHeight!==e&&(this.docHeight=e,this.resetElementPosition())},n.prototype.isOverlapped=function(e,t){if(t)return o(e,t);for(var n=e.parentElement;n&&n!==document.body;){if(i(n))return o(e,n);n=n.parentElement}return!1},n.prototype.checkVisibleItems=function(e){for(var t,o=0,i=this.getScrollY(),n=this.winHeight+i;o=t.pos))break;t.callback&&t.callback(t.el,e),this.items.splice(o,1)}this.lastPos=i,this.items.length||this.stopListeners()},n.prototype.debug=function(){for(var e,t,o,i=0,n=this.items.length;i=0;i–)window.ScrollSpy.add({el:o[i].parentNode,offset:800,callback:function(t,o){var i=t.querySelectorAll(“picture”)[0],n=i.querySelectorAll(“source”),r=i.querySelectorAll(“img”);r.length&&e.load(r,”src”,e.onLoadImages),e.load(n,”srcset”)}})},this.loadGifs=function(t){for(var o=document.querySelectorAll(“.content-media__gif-container”),i=o.length-1;i>=0;i–)window.ScrollSpy.add({el:o[i],offset:800,callback:function(t,o){var i=t.querySelectorAll(“.content-media__gif-container__gif-player”)[0],n=t.querySelectorAll(“.content-media__gif-container__gif-placeholder”)[0],r=t.querySelectorAll(“source”);e.load(r,”src”),i.load(),i.addEventListener(“loadeddata”,(function(){n.style.display=”none”}),!1)}})},this.onLoadImages=function(e){e.classList.add(“progressive-loaded”)},this.load=function(e,o,i){0===e.length&&t.treatCallback(i);for(var n=0;n<e.length;n++)!function(n){var r=e[n],s=r.getAttribute("data-src");r.setAttribute(o,s),t.waitForFinish(r,i)}(n)},this.initialize()}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.adsSmartContainerSetup=void 0;var i=function(e,t){return e.forgotRuleEnabled&&(t.getBoundingClientRect()||{}).bottom<=0},n=function(e){if(e){document.addEventListener("adserver-ad-rendered",(function(t){var o,n=t.evento_original,r=n.isEmpty,s=n.size,l=(o=t.id_elemento,e.find((function(e){return e.name===o})));l&&function(e,t,o){var n,r=null==e||null===(n=e.querySelector)||void 0===n?void 0:n.call(e,e);r&&e&&(e.height=e.height||e.initialHeight,t&&e.initialHeight?function(e,t){if(e){var o=t?"glb-ads-container–hide-opacity":"glb-ads-container–hide";e.classList.add(o)}}(r,i(e,r)):e.hasMultipleSize&&o[1]!==e.height&&!i(e,r)&&(e.height=1===o[1]&&e.initialHeight?e.initialHeight:o[1],r.style.setProperty("–glb-banner-height","".concat(e.height,"px"))))}(l,r,s)}))}};t.adsSmartContainerSetup=n,window.cdaaas.SETTINGS.AD_SMART_CONTAINER=!0,window.cdaaas.helpers.adsSmartContainerSetup=n},function(e,t,o){},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\s*"+encodeURIComponent("_utp").replace(/[-.+*]/g,"\$&")+"\s*\x3d\s*([^;]*).*$)|^.*$"),"$1"));if(!e){var t=JSON.parse(localStorage.getItem("cdUserCodeGlb_v3"))||{};return{direct_user_id:t.user_code,direct_user_provider:t.provider}}var o=JSON.parse(decodeURIComponent(atob(e)));return{direct_user_id:o.uuid,direct_user_provider:o.logado?"cadun":"anonymous"}}}]);
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=10)}({10:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(11),o=(n.n(r),n(12));n.n(o)},11:function(t,e){const n=window.utag_data.bs_content_type||"",r=document.querySelector("#mc-article-body p.content-text__container.theme-color-primary-first-letter");r&&"especial"!==n&&(r.style.minHeight="252px")},12:function(t,e){}});
!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){}]);
/*! For license information please see web.critical.js.LICENSE */
!function(t){var r={};function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:n})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,r){if(1&r&&(t=e(t)),8&r)return t;if(4&r&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(e.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&r&&"string"!=typeof t)for(var o in t)e.d(n,o,function(r){return t[r]}.bind(null,o));return n},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="",e(e.s=3)}([function(t,r,e){t.exports=e(6)},function(t,r,e){(function(r,e){t.exports=function(){"use strict";function t(t){return"function"==typeof t}var n=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},o=0,i=void 0,a=void 0,u=function(t,r){d[o]=t,d[o+1]=r,2===(o+=2)&&(a?a(v):y())},c="undefined"!=typeof window?window:void 0,s=c||{},f=s.MutationObserver||s.WebKitMutationObserver,l="undefined"==typeof self&&void 0!==r&&"[object process]"==={}.toString.call(r),h="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function p(){var t=setTimeout;return function(){return t(v,1)}}var d=new Array(1e3);function v(){for(var t=0;t<o;t+=2){(0,d[t])(d[t+1]),d[t]=void 0,d[t+1]=void 0}o=0}var y=void 0;function g(t,r){var e=this,n=new this.constructor(b);void 0===n[m]&&C(n);var o=e._state;if(o){var i=arguments[o-1];u((function(){return I(o,n,i,e._result)}))}else L(e,n,t,r);return n}function w(t){if(t&&"object"==typeof t&&t.constructor===this)return t;var r=new this(b);return S(r,t),r}y=l?function(){return r.nextTick(v)}:f?function(){var t=0,r=new f(v),e=document.createTextNode("");return r.observe(e,{characterData:!0}),function(){e.data=t=++t%2}}():h?function(){var t=new MessageChannel;return t.port1.onmessage=v,function(){return t.port2.postMessage(0)}}():void 0===c?function(){try{var t=Function("return this")().require("vertx");return void 0===(i=t.runOnLoop||t.runOnContext)?p():function(){i(v)}}catch(t){return p()}}():p();var m=Math.random().toString(36).substring(2);function b(){}var _=void 0,O=1,E=2;function T(r,e,n){e.constructor===r.constructor&&n===g&&e.constructor.resolve===w?function(t,r){r._state===O?j(t,r._result):r._state===E?A(t,r._result):L(r,void 0,(function(r){return S(t,r)}),(function(r){return A(t,r)}))}(r,e):void 0===n?j(r,e):t(n)?function(t,r,e){u((function(t){var n=!1,o=function(t,r,e,n){try{t.call(r,e,n)}catch(t){return t}}(e,r,(function(e){n||(n=!0,r!==e?S(t,e):j(t,e))}),(function(r){n||(n=!0,A(t,r))}),t._label);!n&&o&&(n=!0,A(t,o))}),t)}(r,e,n):j(r,e)}function S(t,r){if(t===r)A(t,new TypeError("You cannot resolve a promise with itself"));else if(function(t){var r=typeof t;return null!==t&&("object"==r||"function"==r)}(r)){var e=void 0;try{e=r.then}catch(r){return void A(t,r)}T(t,r,e)}else j(t,r)}function x(t){t._onerror&&t._onerror(t._result),P(t)}function j(t,r){t._state===_&&(t._result=r,t._state=O,0!==t._subscribers.length&&u(P,t))}function A(t,r){t._state===_&&(t._state=E,t._result=r,u(x,t))}function L(t,r,e,n){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=r,o[i+O]=e,o[i+E]=n,0===i&&t._state&&u(P,t)}function P(t){var r=t._subscribers,e=t._state;if(0!==r.length){for(var n=void 0,o=void 0,i=t._result,a=0;a<r.length;a+=3)n=r[a],o=r[a+e],n?I(e,n,o,i):o(i);t._subscribers.length=0}}function I(r,e,n,o){var i=t(n),a=void 0,u=void 0,c=!0;if(i){try{a=n(o)}catch(r){c=!1,u=r}if(e===a)return void A(e,new TypeError("A promises callback cannot return that same promise."))}else a=o;e._state!==_||(i&&c?S(e,a):!1===c?A(e,u):r===O?j(e,a):r===E&&A(e,a))}var N=0;function C(t){t[m]=N++,t._state=void 0,t._result=void 0,t._subscribers=[]}var k=function(){function t(t,r){this._instanceConstructor=t,this.promise=new t(b),this.promise[m]||C(this.promise),n(r)?(this.length=r.length,this._remaining=r.length,this._result=new Array(this.length),0===this.length?j(this.promise,this._result):(this.length=this.length||0,this._enumerate(r),0===this._remaining&&j(this.promise,this._result))):A(this.promise,new Error("Array Methods must be provided an Array"))}return t.prototype._enumerate=function(t){for(var r=0;this._state===_&&r<t.length;r++)this._eachEntry(t[r],r)},t.prototype._eachEntry=function(t,r){var e=this._instanceConstructor,n=e.resolve;if(n===w){var o=void 0,i=void 0,a=!1;try{o=t.then}catch(r){a=!0,i=r}if(o===g&&t._state!==_)this._settledAt(t._state,r,t._result);else if("function"!=typeof o)this._remaining–,this._result[r]=t;else if(e===D){var u=new e(b);a?A(u,i):T(u,t,o),this._willSettleAt(u,r)}else this._willSettleAt(new e((function(r){return r(t)})),r)}else this._willSettleAt(n(t),r)},t.prototype._settledAt=function(t,r,e){var n=this.promise;n._state===_&&(this._remaining–,t===E?A(n,e):this._result[r]=e),0===this._remaining&&j(n,this._result)},t.prototype._willSettleAt=function(t,r){var e=this;L(t,void 0,(function(t){return e._settledAt(O,r,t)}),(function(t){return e._settledAt(E,r,t)}))},t}(),D=function(){function r(t){this[m]=N++,this._result=this._state=void 0,this._subscribers=[],b!==t&&("function"!=typeof t&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof r?function(t,r){try{r((function(r){S(t,r)}),(function(r){A(t,r)}))}catch(r){A(t,r)}}(this,t):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return r.prototype.catch=function(t){return this.then(null,t)},r.prototype.finally=function(r){var e=this.constructor;return t(r)?this.then((function(t){return e.resolve(r()).then((function(){return t}))}),(function(t){return e.resolve(r()).then((function(){throw t}))})):this.then(r,r)},r}();return D.prototype.then=g,D.all=function(t){return new k(this,t).promise},D.race=function(t){var r=this;return n(t)?new r((function(e,n){for(var o=t.length,i=0;i<o;i++)r.resolve(t[i]).then(e,n)})):new r((function(t,r){return r(new TypeError("You must pass an array to race."))}))},D.resolve=w,D.reject=function(t){var r=new this(b);return A(r,t),r},D._setScheduler=function(t){a=t},D._setAsap=function(t){u=t},D._asap=u,D.polyfill=function(){var t=void 0;if(void 0!==e)t=e;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var r=t.Promise;if(r){var n=null;try{n=Object.prototype.toString.call(r.resolve())}catch(t){}if("[object Promise]"===n&&!r.cast)return}t.Promise=D},D.Promise=D}()}).call(this,e(4),e(5))},function(t,r,e){"use strict";(function(t){var n=e(0),o=e.n(n);function i(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),e.push.apply(e,n)}return e}function a(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}function u(t){return(u="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)}function c(r,e,n,o,i,a,u){try{var c=r[a](u),s=c.value}catch(r){return void n(r)}c.done?e(s):t.resolve(s).then(o,i)}function s(){return window.cdaaas&&window.cdaaas.SETTINGS&&window.cdaaas.SETTINGS.PLAYER}var f=function(){var r=function(r){return function(){var e=this,n=arguments;return new t((function(t,o){var i=r.apply(e,n);function a(r){c(i,t,o,a,u,"next",r)}function u(r){c(i,t,o,a,u,"throw",r)}a(void 0)}))}}(o.a.mark((function r(e){var n,i,a,u,c,f,l;return o.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(s()){r.next=2;break}return r.abrupt("return");case 2:return r.next=4,window.globalWebdeps("cadun");case 4:return n=window,i=n.Cadun,a=n.cdaaas,u=a.SETTINGS.PLAYER,c=new t((function(t){i.Event.subscribe("userInfoAvailable",(function(){var r,e,n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return t({glb_id:n.globoId?n.globoId:(r="glb_uid",e=document.cookie.match(new RegExp("(^| )".concat(r,"=([^;]+)"))),e?e[2].replace(/(^"|"$)/g,""):""),glb_tipo:n.globoId?"logado":"anonimo"})}))})),r.next=9,c;case 9:f=r.sent,l=[],u.OPTIONS.adCustomData&&l.push(u.OPTIONS.adCustomData),f.glb_id&&l.push("glb_id=".concat(f.glb_id)),l.push("glb_tipo=".concat(f.glb_tipo)),u.ASYNC_OPTIONS={adCustomData:l.join("&")},e(u.ASYNC_OPTIONS);case 16:case"end":return r.stop()}}),r)})));return function(t){return r.apply(this,arguments)}}();r.a=function(){if(s()){var r=window.cdaaas.SETTINGS.PLAYER,e={},n=[];r.OPTIONS.adCustomData&&n.push(r.OPTIONS.adCustomData),"boolean"==typeof window.FORCE_VIDEO_AD&&window.FORCE_VIDEO_AD&&(e={adUnit:void 0,adCmsId:void 0,adAccountId:void 0},n=[]);var o=window.utag_data||{},c=function(t){try{var r=o[t];if(r){var e=function(t,r){return String(r)?"".concat(t,"=").concat(String(r)):""},i="object"!==u(r)||Array.isArray(r)?e(t,r):(a=r,Object.keys(a).map((function(t){return(Array.isArray(a[t])?function(t,r){return e(t,(1<arguments.length&&void 0!==r?r:[]).join(","))}:e)(t,a[t])})).filter(Boolean).join("&"));i&&n.push(i)}}catch(t){}var a};c("tipo_pagina"),c("ext-bsafety"),c("ext-advertiser"),r.OPTIONS=function(t){for(var r=1;r<arguments.length;r++){var e=null!=arguments[r]?arguments[r]:{};r%2?i(e,!0).forEach((function(r){a(t,r,e[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):i(e).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}))}return t}({},r.OPTIONS,{},{ga:{productUA:window.cdaaas.SETTINGS.PRODUCT_UA,extras:{dimension21:(window.utag_data||{}).bd_user_provider,dimension22:(window.utag_data||{}).bd_user_code,dimension98:(window.utag_data||{}).bd_suser_provider,dimension99:(window.utag_data||{}).bd_suser_code}}},{},e,{adCustomData:n.join("&")||void 0});var l=new t(f);r.getAsyncData=function(){return l}}}}).call(this,e(1))},function(t,r,e){"use strict";e.r(r);var n=e(2);Object(n.a)()},function(t,r){var e,n,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function u(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(t){n=a}}();var c,s=[],f=!1,l=-1;function h(){f&&c&&(f=!1,c.length?s=c.concat(s):l=-1,s.length&&p())}function p(){if(!f){var t=u(h);f=!0;for(var r=s.length;r;){for(c=s,s=[];++l<r;)c&&c[l].run();l=-1,r=s.length}c=null,f=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(r){try{return n.call(null,t)}catch(r){return n.call(this,t)}}}(t)}}function d(t,r){this.fun=t,this.array=r}function v(){}o.nextTick=function(t){var r=new Array(arguments.length-1);if(1<arguments.length)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];s.push(new d(t,r)),1!==s.length||f||u(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,r){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,r,e){(function(r){var e=function(t){"use strict";var e,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function s(t,r,e,n){var o=r&&r.prototype instanceof y?r:y,i=Object.create(o.prototype),a=new A(n||[]);return i._invoke=function(t,r,e){var n=l;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return P()}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var u=S(a,e);if(u){if(u===v)continue;return u}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(n===l)throw n=d,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n=p;var c=f(t,r,e);if("normal"===c.type){if(n=e.done?d:h,c.arg===v)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(n=d,e.method="throw",e.arg=c.arg)}}}(t,e,a),i}function f(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",h="suspendedYield",p="executing",d="completed",v={};function y(){}function g(){}function w(){}var m={};m[a]=function(){return this};var b=Object.getPrototypeOf,_=b&&b(b(L([])));_&&_!==n&&o.call(_,a)&&(m=_);var O=w.prototype=y.prototype=Object.create(m);function E(t){["next","throw","return"].forEach((function(r){t[r]=function(t){return this._invoke(r,t)}}))}function T(t){var e;this._invoke=function(n,i){function a(){return new r((function(e,a){!function e(n,i,a,u){var c=f(t[n],t,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==typeof l&&o.call(l,"__await")?r.resolve(l.__await).then((function(t){e("next",t,a,u)}),(function(t){e("throw",t,a,u)})):r.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return e("throw",t,a,u)}))}u(c.arg)}(n,i,e,a)}))}return e=e?e.then(a,a):a()}}function S(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,S(t,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=f(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function x(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function j(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function L(t){if(t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function r(){for(;++n<t.length;)if(o.call(t,n))return r.value=t[n],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}return{next:P}}function P(){return{value:e,done:!0}}return g.prototype=O.constructor=w,w.constructor=g,w[c]=g.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===g||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(O),t},t.awrap=function(t){return{__await:t}},E(T.prototype),T.prototype[u]=function(){return this},t.AsyncIterator=T,t.async=function(r,e,n,o){var i=new T(s(r,e,n,o));return t.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},E(O),O[c]="Generator",O[a]=function(){return this},O.toString=function(){return"[object Generator]"},t.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=L,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(j),!t)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;0<=i;–i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;0<=e;–e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),v},finish:function(t){for(var r=this.tryEntries.length-1;0<=r;–r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),j(e),v}},catch:function(t){for(var r=this.tryEntries.length-1;0<=r;–r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;j(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}).call(this,e(1))}]);
!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<n.catchLoc)return r(n.catchLoc,!0);if(this.prev<n.finallyLoc)return r(n.finallyLoc)}else if(s){if(this.prev<n.catchLoc)return r(n.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev=0;–o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e=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”)}}]);
!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=111)}([function(e,t,n){“use strict”;var r=n(17),o=n(51),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 l(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;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:a,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:o,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:c,isStream:function(e){return s(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:l,merge:function e(){var t={};function n(n,r){"object"==typeof t[r]&&"object"==typeof n?t[r]=e(t[r],n):t[r]=n}for(var r=0,o=arguments.length;r<o;r++)l(arguments[r],n);return t},extend:function(e,t,n){return l(t,function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t}),e},trim:function(e){return e.replace(/^s*/,"").replace(/s*$/,"")}}},function(e,t,n){var r=n(103)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r=n(99),o=n(100),i=n(101),a=n(102);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,n){"use strict";e.exports=TypeError},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(16);function o(e,t){for(var n=0;n-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?-O(-e):O(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 M=n(71),N=M.custom,D=G(N)?N:null,q={__proto__:null,double:'"',single:"'"},U={__proto__:null,double:/(["\])/g,single:/(['\])/g};function B(e,t,n){var r=n.quoteStyle||t,o=q[r];return o+e+o}function F(e){return b.call(String(e),/"/g,""")}function $(e){return!P||!("object"==typeof e&&(P in e||void 0!==e[P]))}function H(e){return"[object Array]"===J(e)&&$(e)}function V(e){return"[object RegExp]"===J(e)&&$(e)}function G(e){if(k)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!j)return!1;try{return j.call(e),!0}catch(e){}return!1}e.exports=function e(n,r,o,s){var c=r||{};if(z(c,"quoteStyle")&&!z(q,c.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(z(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength0))throw new TypeError(‘option “indent” must be “\t”, an integer > 0, or `null`’);if(z(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=U[n.quoteStyle||”single”];i.lastIndex=0;var a=b.call(b.call(t,i,”\$1″),/[x00-x1f]/g,K);return B(a,”single”,n)}(n,c);if(“number”==typeof n){if(0===n)return 1/0/n>0?”0″:”-0″;var x=String(n);return w?R(n,x):x}if(“bigint”==typeof n){var O=String(n)+”n”;return w?R(n,O):O}var L=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=L&&L>0&&”object”==typeof n)return H(n)?”[Array]”:”[Object]”;var N=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(X(s,n)>=0)return”[Circular]”;function W(t,n,r){if(n&&(s=A.call(s)).push(n),r){var i={depth:c.depth};return z(c,”quoteStyle”)&&(i.quoteStyle=c.quoteStyle),e(t,i,o+1,s)}return e(t,c,o+1,s)}if(“function”==typeof n&&!V(n)){var ne=function(e){if(e.name)return e.name;var t=y.call(m.call(e),/^functions*([w$]+)/);if(t)return t[1];return null}(n),re=te(n,W);return”[Function”+(ne?”: “+ne:” (anonymous)”)+”]”+(re.length>0?” { “+E.call(re,”, “)+” }”:””)}if(G(n)){var oe=k?b.call(String(n),/^(Symbol(.*))_[^)]*$/,”$1″):j.call(n);return”object”!=typeof n||k?oe:Q(oe)}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 ie=”<"+_.call(String(n.nodeName)),ae=n.attributes||[],se=0;se”,n.childNodes&&n.childNodes.length&&(ie+=”…”),ie+=”"+_.call(String(n.nodeName))+">“}if(H(n)){if(0===n.length)return”[]”;var ce=te(n,W);return N&&!function(e){for(var t=0;t=0)return!1;return!0}(ce)?”[“+ee(ce,N)+”]”:”[ “+E.call(ce,”, “)+” ]”}if(function(e){return”[object Error]”===J(e)&&$(e)}(n)){var le=te(n,W);return”cause”in Error.prototype||!(“cause”in n)||T.call(n,”cause”)?0===le.length?”[“+String(n)+”]”:”{ [“+String(n)+”] “+E.call(le,”, “)+” }”:”{ [“+String(n)+”] “+E.call(S.call(“[cause]: “+W(n.cause),le),”, “)+” }”}if(“object”==typeof n&&g){if(D&&”function”==typeof n[D]&&M)return M(n,{depth:L-o});if(“symbol”!==g&&”function”==typeof n.inspect)return n.inspect()}if(function(e){if(!i||!e||”object”!=typeof e)return!1;try{i.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(n)){var ue=[];return a&&a.call(n,function(e,t){ue.push(W(t,n,!0)+” => “+W(e,n))}),Z(“Map”,i.call(n),ue,N)}if(function(e){if(!l||!e||”object”!=typeof e)return!1;try{l.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(n)){var pe=[];return u&&u.call(n,function(e){pe.push(W(e,n))}),Z(“Set”,l.call(n),pe,N)}if(function(e){if(!p||!e||”object”!=typeof e)return!1;try{p.call(e,p);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(n))return Y(“WeakMap”);if(function(e){if(!d||!e||”object”!=typeof e)return!1;try{d.call(e,d);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(n))return Y(“WeakSet”);if(function(e){if(!f||!e||”object”!=typeof e)return!1;try{return f.call(e),!0}catch(e){}return!1}(n))return Y(“WeakRef”);if(function(e){return”[object Number]”===J(e)&&$(e)}(n))return Q(W(Number(n)));if(function(e){if(!e||”object”!=typeof e||!C)return!1;try{return C.call(e),!0}catch(e){}return!1}(n))return Q(W(C.call(n)));if(function(e){return”[object Boolean]”===J(e)&&$(e)}(n))return Q(h.call(n));if(function(e){return”[object String]”===J(e)&&$(e)}(n))return Q(W(String(n)));if(“undefined”!=typeof window&&n===window)return”{ [object Window] }”;if(“undefined”!=typeof globalThis&&n===globalThis||void 0!==t&&n===t)return”{ [object globalThis] }”;if(!function(e){return”[object Date]”===J(e)&&$(e)}(n)&&!V(n)){var de=te(n,W),fe=I?I(n)===Object.prototype:n instanceof Object||n.constructor===Object,he=n instanceof Object?””:”null prototype”,ge=!fe&&P&&Object(n)===n&&P in n?v.call(J(n),8,-1):he?”Object”:””,me=(fe||”function”!=typeof n.constructor?””:n.constructor.name?n.constructor.name+” “:””)+(ge||he?”[“+E.call(S.call([],ge||[],he||[]),”: “)+”] “:””);return 0===de.length?me+”{}”:N?me+”{“+ee(de,N)+”}”:me+”{ “+E.call(de,”, “)+” }”}return String(n)};var W=Object.prototype.hasOwnProperty||function(e){return e in this};function z(e,t){return W.call(e,t)}function J(e){return g.call(e)}function X(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function K(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\"+n:"\x"+(t<16?"0":"")+w.call(t.toString(16))}function Q(e){return"Object("+e+")"}function Y(e){return e+" { ? }"}function Z(e,t,n,r){return e+" ("+t+") {"+(r?ee(n,r):E.call(n,", "))+"}"}function ee(e,t){if(0===e.length)return"";var n="n"+t.prev+t.base;return n+E.call(e,","+n)+"n"+t.prev}function te(e,t){var n=H(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=z(e,o)?t(e[o],e):""}var i,a="function"==typeof L?L(e):[];if(k){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var c in e)z(e,c)&&(n&&String(Number(c))===c&&c<e.length||k&&i["$"+c]instanceof Symbol||(x.call(/[^w$]/,c)?r.push(t(c,e)+": "+t(e[c],e)):r.push(c+": "+t(e[c],e))));if("function"==typeof L)for(var l=0;l=200&&e1&&”boolean”!=typeof t)throw new l(‘”allowMissing” argument must be a boolean’);if(null===F(/^%?[^%]*%?$/,e))throw new c(“`%` may not be present anywhere but at the beginning and end of the intrinsic name”);var n=function(e){var t=B(e,0,1),n=B(e,-1);if(“%”===t&&”%”!==n)throw new c(“invalid intrinsic syntax, expected closing `%`”);if(“%”===n&&”%”!==t)throw new c(“invalid intrinsic syntax, expected opening `%`”);var r=[];return U(e,$,function(e,t,n,o){r[r.length]=n?U(o,H,”$1″):t||e}),r}(e),r=n.length>0?n[0]:””,o=V(“%”+r+”%”,t),i=o.name,a=o.value,s=!1,u=o.alias;u&&(r=u[0],q(n,D([0,1],u)));for(var p=1,d=!0;p=n.length){var m=w(a,f);a=(d=!!m)&&”get”in m&&!(“originalValue”in m.get)?m.get:a[f]}else d=N(a,f),a=a[f];d&&!s&&(T[i]=a)}}return a}},function(e,t,n){“use strict”;e.exports=Function.prototype.call},function(e,t,n){“use strict”;var r=String.prototype.replace,o=/%20/g,i=”RFC1738″,a=”RFC3986″;e.exports={default:a,formatters:{RFC1738:function(e){return r.call(e,o,”+”)},RFC3986:function(e){return String(e)}},RFC1738:i,RFC3986:a}},function(e,t,n){“use strict”;e.exports=n(112),e.exports.strategies={cadun:n(108),oidc:n(109)}},function(e,t,n){var r=n(7).default,o=n(47);e.exports=function(e){var t=o(e,”string”);return”symbol”==r(t)?t:t+””},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;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";var r=n(0),o=n(55),i=n(57),a=n(58),s=n(59),c=n(19),l="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(60);e.exports=function(e){return new Promise(function(t,u){var p=e.data,d=e.headers;r.isFormData(p)&&delete d["Content-Type"];var f=new XMLHttpRequest,h="onreadystatechange",g=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in f||s(e.url)||(f=new window.XDomainRequest,h="onload",g=!0,f.onprogress=function(){},f.ontimeout=function(){}),e.auth){var m=e.auth.username||"",y=e.auth.password||"";d.Authorization="Basic "+l(m+":"+y)}if(f.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,f[h]=function(){if(f&&(4===f.readyState||g)&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in f?a(f.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?f.response:f.responseText,status:1223===f.status?204:f.status,statusText:1223===f.status?"No Content":f.statusText,headers:n,config:e,request:f};o(t,u,r),f=null}},f.onerror=function(){u(c("Network Error",e,null,f)),f=null},f.ontimeout=function(){u(c("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",f)),f=null},r.isStandardBrowserEnv()){var v=n(61),b=(e.withCredentials||s(e.url))&&e.xsrfCookieName?v.read(e.xsrfCookieName):void 0;b&&(d[e.xsrfHeaderName]=b)}if("setRequestHeader"in f&&r.forEach(d,function(e,t){void 0===p&&"content-type"===t.toLowerCase()?delete d[t]:f.setRequestHeader(t,e)}),e.withCredentials&&(f.withCredentials=!0),e.responseType)try{f.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(e){f&&(f.abort(),u(e),f=null)}),void 0===p&&(p=null),f.send(p)})}},function(e,t,n){"use strict";var r=n(56);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";var r=n(4),o=n(8),i=n(72),a=n(23),s=n(97)||a||i;e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new r("Side channel does not contain "+o(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||(e=s()),e.set(t,n)}};return t}},function(e,t,n){"use strict";var r=n(12),o=n(30),i=n(8),a=n(4),s=r("%Map%",!0),c=o("Map.prototype.get",!0),l=o("Map.prototype.set",!0),u=o("Map.prototype.has",!0),p=o("Map.prototype.delete",!0),d=o("Map.prototype.size",!0);e.exports=!!s&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+i(e))},delete:function(t){if(e){var n=p(e,t);return 0===d(e)&&(e=void 0),n}return!1},get:function(t){if(e)return c(e,t)},has:function(t){return!!e&&u(e,t)},set:function(t,n){e||(e=new s),l(e,t,n)}};return t}},function(e,t,n){"use strict";e.exports=Object},function(e,t,n){"use strict";var r=n(87);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},function(e,t,n){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},function(e,t,n){"use strict";var r=n(24);e.exports=r.getPrototypeOf||null},function(e,t,n){"use strict";var r=n(9),o=n(4),i=n(13),a=n(94);e.exports=function(e){if(e.length-1?o([n]):n}},function(e,t,n){“use strict”;var r=n(14),o=n(22),i=Object.prototype.hasOwnProperty,a=Array.isArray,s=o(),c=function(e,t){return s.set(e,t),e},l=function(e){return s.has(e)},u=function(e){return s.get(e)},p=function(e,t){s.set(e,t)},d=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),f=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},r=0;rn?c(f(i,{plainObjects:r}),i.length-1):i},compact:function(e){for(var t=[{obj:{o:e},prop:”o”}],n=[],r=0;r<t.length;++r)for(var o=t[r],i=o.obj[o.prop],s=Object.keys(i),c=0;c1;){var t=e.pop(),n=t.obj[t.prop];if(a(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,o,i){if(0===e.length)return e;var a=e;if("symbol"==typeof e?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===n)return escape(a).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var s="",c=0;c=1024?a.slice(c,c+1024):a,u=[],p=0;p=48&&f=65&&f=97&&f<=122||i===r.RFC1738&&(40===f||41===f)?u[u.length]=l.charAt(p):f<128?u[u.length]=d[f]:f>6]+d[128|63&f]:f=57344?u[u.length]=d[224|f>>12]+d[128|f>>6&63]+d[128|63&f]:(p+=1,f=65536+((1023&f)<>18]+d[128|f>>12&63]+d[128|f>>6&63]+d[128|63&f])}s+=u.join(“”)}return s},isBuffer:function(e){return!(!e||”object”!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isOverflow:l,isRegExp:function(e){return”[object RegExp]”===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(a(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n&&"function"!=typeof n){if(a(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];if(l(t)){var o=u(t)+1;t[o]=n,p(t,o)}else(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t){if(l(n)){for(var s=Object.keys(n),d=r&&r.plainObjects?{__proto__:null,0:t}:{0:t},h=0;he.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(35);function o(){
/*! regenerator-runtime — Copyright (c) 2014-present, Facebook, Inc. — license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
var t,n,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.toStringTag||"@@toStringTag";function c(e,o,i,a){var s=o&&o.prototype instanceof u?o:u,c=Object.create(s.prototype);return r(c,"_invoke",function(e,r,o){var i,a,s,c=0,u=o||[],p=!1,d={p:0,n:0,v:t,a:f,f:f.bind(t,4),d:function(e,n){return i=e,a=0,s=t,d.n=n,l}};function f(e,r){for(a=e,s=r,n=0;!p&&c&&!o&&n3?(o=h===r)&&(s=i[(a=i[4])?5:(a=3,3)],i[4]=i[5]=t):i[0]<=f&&((o=e<2&&f<i[1])?(a=0,d.v=r,d.n=i[1]):f<h&&(o=er||r>h)&&(i[4]=e,i[5]=r,d.n=h,a=0))}if(o||e>1)return l;throw p=!0,r}return function(o,u,h){if(c>1)throw TypeError(“Generator is already running”);for(p&&1===u&&f(u,h),a=u,s=h;(n=a<2?t:s)||!p;){i||(a?a1&&(d.n=-1),f(a,s)):d.n=s:d.v=s);try{if(c=2,i){if(a||(o=”next”),n=i[o]){if(!(n=n.call(i,s)))throw TypeError(“iterator result is not an object”);if(!n.done)return n;s=n.value,a<2&&(a=0)}else 1===a&&(n=i.return)&&n.call(i),a<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),a=1);i=t}else if((n=(p=d.n<0)?s:e.call(r,d))!==l)break}catch(e){i=t,a=1,s=e}finally{c=1}}return{value:n,done:p}}}(e,i,a),!0),c}var l={};function u(){}function p(){}function d(){}n=Object.getPrototypeOf;var f=[][a]?n(n([][a]())):(r(n={},a,function(){return this}),n),h=d.prototype=u.prototype=Object.create(f);function g(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,d):(e.__proto__=d,r(e,s,"GeneratorFunction")),e.prototype=Object.create(h),e}return p.prototype=d,r(h,"constructor",d),r(d,"constructor",p),p.displayName="GeneratorFunction",r(d,s,"GeneratorFunction"),r(h),r(h,s,"Generator"),r(h,a,function(){return this}),r(h,"toString",function(){return"[object Generator]"}),(e.exports=o=function(){return{w:c,m:g}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t,r,o,i){var a=Object.defineProperty;try{a({},"",{})}catch(t){a=0}e.exports=n=function(e,t,r,o){function i(t,r){n(e,t,function(e){return this._invoke(t,r,e)})}t?a?a(e,t,{value:r,enumerable:!o,configurable:!o,writable:!o}):e[t]=r:(i("next",0),i("throw",1),i("return",2))},e.exports.__esModule=!0,e.exports.default=e.exports,n(t,r,o,i)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(34),o=n(37);e.exports=function(e,t,n,i,a){return new o(r().w(e,t,n,i),a||Promise)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(33),o=n(35);e.exports=function e(t,n){function i(e,o,a,s){try{var c=t[e](o),l=c.value;return l instanceof r?n.resolve(l.v).then(function(e){i("next",e,a,s)},function(e){i("throw",e,a,s)}):n.resolve(l).then(function(e){c.value=e,a(c)},function(e){return i("throw",e,a,s)})}catch(e){s(e)}}var a;this.next||(o(e.prototype),o(e.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),o(this,"_invoke",function(e,t,r){function o(){return new n(function(t,n){i(e,r,t,n)})}return a=a?a.then(o,o):o()},!0)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){},function(e,t,n){e.exports=n(50)},function(e,t,n){"use strict";var r=n(69),o=n(98),i=n(14);e.exports={formats:i,parse:o,stringify:r}},,,,,function(e,t,n){},,function(e,t,n){var r=n(7).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){},,function(e,t,n){"use strict";var r=n(0),o=n(17),i=n(52),a=n(11);function s(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var c=s(a);c.Axios=i,c.create=function(e){return s(r.merge(a,e))},c.Cancel=n(21),c.CancelToken=n(67),c.isCancel=n(20),c.all=function(e){return Promise.all(e)},c.spread=n(68),e.exports=c,e.exports.default=c},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh
* @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(11),o=n(0),i=n(62),a=n(63),s=n(65),c=n(66);function l(e){this.defaults=e,this.interceptors={request:new i,response:new i}}l.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){l.prototype[e]=function(t,n){return this.request(o.merge(n||{},{method:e,url:t}))}}),o.forEach([“post”,”put”,”patch”],function(e){l.prototype[e]=function(t,n,r){return this.request(o.merge(r||{},{method:e,url:t,data:n}))}}),e.exports=l},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,l=[],u=!1,p=-1;function d(){u&&c&&(u=!1,c.length?l=c.concat(l):p=-1,l.length&&f())}function f(){if(!u){var e=s(d);u=!0;for(var t=l.length;t;){for(c=l,l=[];++p1)for(var n=1;n>8-s%1*8)){if((n=i.charCodeAt(s+=.75))>255)throw new o;t=t<0?A.join(“,”)||null:void 0}];else if(c(m))k=m;else{var T=Object.keys(A);k=y?T.sort(y):T}var I=d?String(n).replace(/./g,”%2E”):String(n),R=a&&c(A)&&1===A.length?I+”[]”:I;if(s&&c(A)&&0===A.length)return R+”[]”;for(var M=0;M<k.length;++M){var N=k[M],D="object"==typeof N&&N&&void 0!==N.value?N.value:A[N];if(!p||null!==D){var q=v&&d?String(N).replace(/./g,"%2E"):String(N),U=c(A)?"function"==typeof i?i(R,q):R:R+(v?"."+q:"["+q+"]");E.set(t,C);var B=r();B.set(h,E),u(P,e(D,U,i,a,s,l,p,d,"comma"===i&&x&&c(A)?null:g,m,y,v,b,w,_,x,S,B))}}return P};e.exports=function(e,t){var n,o=e,l=function(e){if(!e)return f;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||f.charset;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 n=i.default;if(void 0!==e.format){if(!a.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r,o=i.formatters[n],l=f.filter;if(("function"==typeof e.filter||c(e.filter))&&(l=e.filter),r=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":f.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=void 0===e.allowDots?!0===e.encodeDotInKeys||f.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:u,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:r,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:f.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:l,format:n,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}}(t);"function"==typeof l.filter?o=(0,l.filter)("",o):c(l.filter)&&(n=l.filter);var p=[];if("object"!=typeof o||null===o)return"";var d=s[l.arrayFormat],h="comma"===d&&l.commaRoundTrip;n||(n=Object.keys(o)),l.sort&&n.sort(l.sort);for(var m=r(),y=0;y0?_+w:””}},function(e,t){var n;n=function(){return this}();try{n=n||Function(“return this”)()||(0,eval)(“this”)}catch(e){“object”==typeof window&&(n=window)}e.exports=n},function(e,t){},function(e,t,n){“use strict”;var r=n(8),o=n(4),i=function(e,t,n){for(var r,o=e;null!=(r=o.next);o=r)if(r.key===t)return o.next=r.next,n||(r.next=e.next,e.next=r),r};e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new o(“Side channel does not contain “+r(e))},delete:function(t){var n=e&&e.next,r=function(e,t){if(e)return i(e,t,!0)}(e,t);return r&&n&&n===r&&(e=void 0),!!r},get:function(t){return function(e,t){if(e){var n=i(e,t);return n&&n.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!i(e,t)}(e,t)},set:function(t,n){e||(e={next:void 0}),function(e,t,n){var r=i(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(e,t,n)}};return t}},function(e,t,n){“use strict”;e.exports=Error},function(e,t,n){“use strict”;e.exports=EvalError},function(e,t,n){“use strict”;e.exports=RangeError},function(e,t,n){“use strict”;e.exports=ReferenceError},function(e,t,n){“use strict”;e.exports=SyntaxError},function(e,t,n){“use strict”;e.exports=URIError},function(e,t,n){“use strict”;e.exports=Math.abs},function(e,t,n){“use strict”;e.exports=Math.floor},function(e,t,n){“use strict”;e.exports=Math.max},function(e,t,n){“use strict”;e.exports=Math.min},function(e,t,n){“use strict”;e.exports=Math.pow},function(e,t,n){“use strict”;e.exports=Math.round},function(e,t,n){“use strict”;var r=n(86);e.exports=function(e){return r(e)||0===e?e:e<0?-1:1}},function(e,t,n){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},function(e,t,n){"use strict";e.exports=Object.getOwnPropertyDescriptor},function(e,t,n){"use strict";var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch(e){r=!1}e.exports=r},function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(90);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(var r 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 o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},function(e,t,n){"use strict";var r=n(26),o=n(27),i=n(92);e.exports=r?function(e){return r(e)}:o?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return o(e)}:i?function(e){return i(e)}:null},function(e,t,n){"use strict";var r,o=n(28),i=n(25);try{r=[].__proto__===Array.prototype}catch(e){if(!(e&&"object"==typeof e&&"code"in e&&"ERR_PROTO_ACCESS"===e.code))throw e}var a=!!r&&i&&i(Object.prototype,"__proto__"),s=Object,c=s.getPrototypeOf;e.exports=a&&"function"==typeof a.get?o([a.get]):"function"==typeof c&&function(e){return c(null==e?e:s(e))}},function(e,t,n){"use strict";var r=Object.prototype.toString,o=Math.max,i=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var o=0;o<t.length;o+=1)n[o+e.length]=t[o];return n};e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==r.apply(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var n,a=function(e,t){for(var n=[],r=t||0,o=0;r<e.length;r+=1,o+=1)n[o]=e[r];return n}(arguments,1),s=o(0,t.length-a.length),c=[],l=0;l<s;l++)c[l]="$"+l;if(n=Function("binder","return function ("+function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1-1)return e.split(“,”);if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw new RangeError(“Array limit exceeded. Only “+t.arrayLimit+” element”+(1===t.arrayLimit?””:”s”)+” allowed in an array.”);return e},l=function(e,t,n,i){if(e){var a=function(e,t){var n=t.allowDots?e.replace(/.([^.[]+)/g,”[$1]”):e;if(t.depth<=0){if(!t.plainObjects&&o.call(Object.prototype,n)&&!t.allowPrototypes)return;return[n]}var r=/([[^[]]*])/g,i=/([[^[]]*])/.exec(n),a=i?n.slice(0,i.index):n,s=[];if(a){if(!t.plainObjects&&o.call(Object.prototype,a)&&!t.allowPrototypes)return;s.push(a)}for(var c=0;null!==(i=r.exec(n))&&c0&&”[]”===e[e.length-1]){var a=e.slice(0,-1).join(“”);i=Array.isArray(t)&&t[a]?t[a].length:0}for(var s=o?t:c(t,n,i),l=e.length-1;l>=0;–l){var u,p=e[l];if(“[]”===p&&n.parseArrays)u=r.isOverflow(s)?s:n.allowEmptyArrays&&(“”===s||n.strictNullHandling&&null===s)?[]:r.combine([],s,n.arrayLimit,n.plainObjects);else{u=n.plainObjects?{__proto__:null}:{};var d=”[“===p.charAt(0)&&”]”===p.charAt(p.length-1)?p.slice(1,-1):p,f=n.decodeDotInKeys?d.replace(/%2E/g,”.”):d,h=parseInt(f,10);n.parseArrays||””!==f?!isNaN(h)&&p!==f&&String(h)===f&&h>=0&&n.parseArrays&&hu)throw new RangeError(“Parameter limit exceeded. Only “+u+” parameter”+(1===u?””:”s”)+” allowed.”);var d,f=-1,h=t.charset;if(t.charsetSentinel)for(d=0;d<p.length;++d)0===p[d].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[d]?h="utf-8":"utf8=%26%2310003%3B"===p[d]&&(h="iso-8859-1"),f=d,d=p.length);for(d=0;d
-1&&(m=i(m)?[m]:m),null!==g){var w=o.call(n,g);w&&”combine”===t.duplicates?n[g]=r.combine(n[g],m,t.arrayLimit,t.plainObjects):w&&”last”!==t.duplicates||(n[g]=m)}}return n}(e,n):e,p=n.plainObjects?{__proto__:null}:{},d=Object.keys(u),f=0;f=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(r(e)+” is not iterable”)},e.exports.__esModule=!0,e.exports.default=e.exports},,function(e,t,n){“use strict”;n.r(t);t.default=class{constructor(){}}},function(e,t,n){“use strict”;n.r(t);t.default=class{constructor(e={}){const{CLIENT_ID:t,RESOURCE:n,URL:r,REDIRECT_URI:o,SCOPES:i=”openid profile”,LEGACY_COMPATIBLE:a=!0}=e;this.loginSettings={clientId:t,resource:n,url:r,redirectUri:o,onLoad:”check-sso”,sessionManagement:”token”,legacyCompatible:a,scope:i},!1===e.ONLOAD&&delete this.loginSettings.onLoad,this.EdgGloboIdData=[{client_id:t,isLogged:null,getTokens:null,email:null}],this.login=this.login.bind(this),this.globoIDJSInicialized=!1}getGloboIdClient(){const e=window.glb.globoIdClientMap.getGloboIdClient(this.loginSettings.clientId);return e.stageQueueMap.applicationUsageStageQueue=e.stageQueueMap.applicationUsageStageQueue||[],e.stageQueueMap.applicationUsageStageQueue}async initGloboIdClient(){try{window.newrelic&&window.newrelic.addPageAction(“globoid”,{step:”globoid-load”,timestamp:performance.now()}),await this.waitForGloboIdClient(),await window.glb.globoIdClientMap.initNewGloboIdClient(this.loginSettings),this.globoIDJSInicialized=!0,console.log(“GloboID JS initialized successfully.”)}catch(e){throw console.error(“Error loading GloboID JS:”,e),e}}async waitForGloboIdClient(e=10,t=100){for(let n=0;nsetTimeout(e,t))}throw new Error(“GloboID Client did not load within the time limit.”)}async isLogged(){if(this.isLoggedPromise)return this.isLoggedPromise;this.isLoggedPromise=new Promise(async e=>{window.newrelic&&window.newrelic.addPageAction(“globoid”,{step:”globoid-islogged-init”,function:”isLogged”,timestamp:performance.now()}),this.getGloboIdClient().push(async t=>{const n=await t.isLogged();this.EdgGloboIdData.find(e=>e.client_id===this.loginSettings.clientId).isLogged=n,window.newrelic&&window.newrelic.addPageAction(“globoid”,{step:”globoid-islogged-result”,function:”isLogged”,result:n?”success”:”notLogged”,timestamp:performance.now()}),this.isLoggedPromise=null,e(n)})})}stringToArrayBuffer(e){return(new TextEncoder).encode(e)}async hashEmail(e){const t=this.stringToArrayBuffer(e),n=await crypto.subtle.digest(“SHA-256″,t);return Array.from(new Uint8Array(n)).map(e=>e.toString(16).padStart(2,”0”)).join(“”)}retrieveUserData(){return new Promise((e,t)=>{this.getGloboIdClient().push(async n=>{const r=await n.isLogged(),o=this.EdgGloboIdData.find(e=>e.client_id===this.loginSettings.clientId);if(r){let t={};try{t=await n.loadUserInfo()||{}}catch(e){console.warn(“[authentication-lib] loadUserInfo failed”,e)}let r=null;try{r=await n.getTokens()}catch(e){console.warn(“[authentication-lib] getTokens failed”,e)}const a=r&&r.access_token;function i(e){const t=e.replace(/-/g,”+”).replace(/_/g,”/”);return decodeURIComponent(atob(t).split(“”).map(function(e){return”%”+(“00″+e.charCodeAt(0).toString(16)).slice(-2)}).join(“”))}const s=async()=>{try{const e=document.cookie.match(/(?:^|;s*)GLOBO_ID=([^;]+)/);if(!e)return null;const t=e[1].split(“.”);if(!t[1])return null;const n=JSON.parse(i(t[1])),r={name:n.name||n.userName||n.preferred_username,userName:n.userName||n.name||n.preferred_username,picture:n.picture||n.photoUrl,photoUrl:n.photoUrl||n.picture};if(n.email){const e=await this.hashEmail(n.email);o&&(o.email=e)}return r}catch(e){return console.warn(“[authentication-lib] Failed to read GLOBO_ID cookie”,e),null}};if(!a){console.warn(“[authentication-lib] access_token not available for client”,this.loginSettings.clientId),window.newrelic&&window.newrelic.addPageAction(“globoid”,{step:”globoid-user-login-incomplete”,result:”missingToken”,timestamp:performance.now()});const n=await s();return n?void e({…n,…t}):void e(t||{})}o.getTokens=a;const c=a.split(“.”);let l={};try{l=JSON.parse(i(c[1]||””))}catch(e){console.warn(“[authentication-lib] Failed to decode access token”,e)}const u=l.email;if(u){const e=await this.hashEmail(u);o.email=e}window.newrelic&&window.newrelic.addPageAction(“globoid”,{step:”globoid-user-login-complete”,result:”success”,timestamp:performance.now()});const p=t&&t.name&&t.userName&&t.photoUrl?null:await s(),d=p?{…p,…t}:t;e(d||{})}else t(“user not authenticated”)})})}login(){this.getGloboIdClient().push(async e=>{await e.loginCustomSettings({storeState:!0})})}logout(){this.getGloboIdClient().push(async e=>{await e.logout()})}async initEvents(){document.addEventListener(“DOMContentLoaded”,async()=>{window.glb&&window.glb.globoIdClientMap?await this.initGloboIdClient():console.warn(“window.glb is not available. GloboID Client will not be initialized.”)})}}},,function(e,t,n){“use strict”;n.r(t);var r={};n.r(r),n.d(r,”qs”,function(){return Pe}),n.d(r,”qsAll”,function(){return Te}),n.d(r,”attachEvent”,function(){return Re}),n.d(r,”detachEvent”,function(){return Me}),n.d(r,”on”,function(){return De}),n.d(r,”off”,function(){return qe}),n.d(r,”toArray”,function(){return Ue});n(45);var o=n(10),i=n.n(o),a=1024,s=function(e){return window.matchMedia(“(min-width: “.concat(e,”px)”)).matches},c=function(){return s(a)},l={save:function(e,t,n){var r=60*n*1e3,o={value:t,timestamp:(new Date).getTime()+r};try{localStorage.setItem(e,JSON.stringify(o))}catch(e){return!1}return t},load:function(e){var t;try{t=JSON.parse(localStorage.getItem(e))}catch(e){return!1}return!!t&&((new Date).getTime()<t.timestamp&&t.value)}};function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){i()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var d,f=window.location.hostname,h=f.replace(/^www./,""),g=(-1!==f.indexOf("local.globo.com")||-1!==f.indexOf("localhost")||-1!==f.indexOf(".qa.globoi.com")||-1!==f.indexOf(".qa01.globoi.com")||f.indexOf(".dev.globoi.com"),h.match(/^(?:revista)?([^.]+)./)),m=g?g[1]:null;["valorinveste.globo.com","valorinveste.qa.globoi.com"].includes(f)&&(m="valor-investe"),window.localStorageCache=l,window.glb=p(p({},window.glb),{},{cdnConfig:{fnEnv:"prod",fnProduct:{name:m,label:m,home:"//"+f+"/"},fnBuscaUrl:f+"/"}}),glb.headerError||function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){if(!s&&("function"==typeof d&&d))return d(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[a]={exports:{}};t[a][0].call(l.exports,function(e){var n=t[a][1][e];return o(n||e)},l,l.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof d&&d,a=0;a=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<o;t++)if(n=a[t],r=new RegExp(n.pattern),i=n.host,r.test(e))return i;return e},glb.getCurrentProduct=function(e){var t,n,r;return null!=glb.fnProduct?glb.fnProduct:(t=e.configFnJson,r=null!=glb.host?glb.host:window.location.host,n=e.defaultHost,"prod"!==glb.fnEnv&&(r=glb.getCurrentInternalHost(r)),null!=t.products[r]?t.products[r]:t.products[n])},glb.getCurrentBuscaDomain=function(e){return null!=glb.fnBuscaUrl?glb.fnBuscaUrl:e.fnHost},glb.getProductsLists=function(e){var t,n,r,o,i,a,s,c;for(n=[],a=[],r=[],(n=function(){var n,r;for(t in r=[],n=e.products)c=n[t],r.push({home:c.home,name:c.name,order:c.menuOrder});return r}()).sort(function(e,t){return e.order-t.order}),o=0,i=n.length;o<i;o++)s=n[o],a.push(s.name),r.push(s.home);return{names:a,homes:r}},glb.getCurrentEnv=function(){var e,t;return null!=glb.fnEnv?glb.fnEnv:(e="prod",-1!==(t=null!=glb.host?glb.host:window.location.host).indexOf("local.globo.com")||-1!==t.indexOf("localhost")||-1!==t.indexOf(".qa.globoi.com")||-1!==t.indexOf(".qa01.globoi.com")||-1!==t.indexOf(".dev.globoi.com")?e="qa":null!=glb.fnEnvName&&glb.fnEnvName?e=glb.fnEnvName.toLowerCase():-1!==t.indexOf("local.cdn.globo")&&(e="local"),e)},window.fnSpriteSvgSuccess=function(e){var t;(t=document.querySelector("#regua-svg-container"))||((t=document.createElement("div")).id="regua-svg-container",t.className="regua-svg-container",t.style.height=0,t.style.width=0,t.style.position="absolute",t.style.left="-999999px",document.body.insertBefore(t,document.body.childNodes[0])),t.innerHTML=e},r=function(e,t,n){var r,o,i;for(o=0,i=e.length;o<i;o++)r=e[o],a(r.url,"//")||(r.url=t+r.url),r.expire=n,r.sourceMap&&(r.sourceMap=t+r.sourceMap)},i=function(e,t){var n,o,i,a,c,l,u,p,d,f,h,g,m,y,v,b,w,_,x,S,E,A,O;for(c=t.debug,o=t.components,A=t.typeFiles,p=t.fnDevice,d=t.fnEnv,f=t.fnExpires[d],u=t.fnCdnBaseUrls[d],t.configFnJson=e,t.fnProduct=glb.getCurrentProduct(t),t.fnHost=t.fnProduct.home.replace(/(/)+/g,""),t.fnBuscaUrl=glb.getCurrentBuscaDomain(t),null!=(null!=(S=t.fnProduct)?S.color:void 0)&&glb.createProductColorCss(t.fnProduct.color),h=glb.getProductsLists(t.configFnJson),t.fnProductsNames=h.names,t.fnProductsHomes=h.homes,l={},O={},g=0,b=A.length;g<b;g++)l[E=A[g]]=[];for(m=0,w=o.length;m<w;m++)if(!(O[n=o[m]]||"app"===n&&!glb.nativeAppType||"regua"===n&&!glb.hasRegua)&&(O[n]=!0,(a=e[n])&&a[p]))for(i=a[p],y=0,_=A.length;y<_;y++)E=A[y],i&&i[E]&&glb.extendArrays(l[E],i[E]);for(v=0,x=A.length;v<x;v++)l[E=A[v]]&&(r(l[E],u,f),s.require(l[E],c))},glb.fnCdnStarted=!1,glb.initFnCdn=function(e){var t,n,o,a,c,l,u;if(!glb.fnCdnStarted)return glb.fnCdnStarted=!0,null!=glb.cdnComponents&&(e.components=glb.extendArrays(e.components,glb.cdnComponents)),glb.addGlbOnAppClass(),glb.addHasReguaClass(),e.fnDevice=glb.isMobile?"mobile":"desktop",u="undefined"!=typeof XDomainRequest,t=e.debug=glb.fnDebug||u||-1!==window.location.hash.indexOf("debug-fn-cdn-on"),a=e.fnEnv=glb.getCurrentEnv(),c=e.fnExpire=e.fnExpires[a],n=e.fnCdnBaseUrl=e.fnCdnBaseUrls[a],o=e.fnConfigFile=e.fnConfigFiles[a],r(l=[{url:o,key:"fn-config",success:function(t){return i(t,e)}}],n,c),s.require(l,t)}},{"../../globo-cdn-src/scripts/__cdn-configs.coffee":1,"../../globo-cdn-src/scripts/app/__master-app-addclass.coffee":2,"../../globo-cdn-src/scripts/common/__custom-event.coffee":4,"../../globo-cdn-src/scripts/regua/__regua-navegacao-addclass.coffee":6,"../../globo-cdn-src/scripts/tiny-basket.coffee":8}],4:[function(e,t,n){var r;try{new CustomEvent("test")}catch(e){e,(r=function(e,t){var n;return n=void 0,t=t||{bubbles:!1,cancelable:!1,detail:void 0},(n=document.createEvent("CustomEvent")).initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}).prototype=window.Event.prototype,window.CustomEvent=r}void 0!==t&&t.exports&&(t.exports=window.CustomEvent)},{}],5:[function(e,t,n){var r,o,i;o=function(e,t){var n;return null!=e&&null!=t&&(n=new RegExp("(?:^|\s)"+t+"(?!\S)"),!!e.className.match(n))},r=function(e,t){o(e,t)||(e.className+=" "+t)},i=function(e,t){var n;o(e,t)&&(n=new RegExp("(?:^|\s)"+t+"(?!\S)","g"),e.className=e.className.replace(n,""))},window.manageElementClasses={hasClass:o,addClass:r,removeClass:i},void 0!==t&&t.exports&&(t.exports=window.manageElementClasses)},{}],6:[function(e,t,n){var r,o,i,a;window.glb=window.glb||{},i=e("../../../globo-cdn-src/scripts/common/__manage-element-classes"),r=i.addClass,a=i.removeClass,glb.reguaShouldStart=e("../../../globo-cdn-src/scripts/regua/__regua-shouldstart"),o=function(){var e;e=glb.reguaShouldStart(),null==glb.hasRegua&&(glb.hasRegua=e),glb.hasRegua?(r(document.documentElement,"has-regua"),r(document.documentElement,"svg-support"),a(document.documentElement,"has-not-regua")):(a(document.documentElement,"has-regua"),a(document.documentElement,"svg-support"),r(document.documentElement,"has-not-regua"))},void 0!==t&&t.exports&&(t.exports=o)},{"../../../globo-cdn-src/scripts/common/__manage-element-classes":5,"../../../globo-cdn-src/scripts/regua/__regua-shouldstart":7}],7:[function(e,t,n){var r,o,i,a,s,c,l,u;window.viewportSize={},window.viewportSize.getHeight=function(){return l("Height")},window.viewportSize.getWidth=function(){return l("Width")},l=function(e){var t,n,r,o,i,a;return a=void 0,i=e.toLowerCase(),o=(r=window.document).documentElement,void 0===window["inner"+e]?a=o["client"+e]:window["inner"+e]!==o["client"+e]?((t=r.createElement("body")).id="vpw-test-b",t.style.cssText="overflow:scroll",(n=r.createElement("div")).id="vpw-test-d",n.style.cssText="position:absolute;top:-1000px",n.innerHTML="@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)},u=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=u)},{}],8:[function(e,t,n){var r,o,i,a,s,c,l,u,p,d,f,h,g,m,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},u=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},d=document.head||document.getElementsByTagName("head")[0],g=null;try{g=window.localStorageInterface||window.localStorage}catch(e){l=e,console.log("localstorage error",l),g=null}p=function(){var e;if(e="modernizr",!g||!g.setItem)return!1;try{return g.setItem(e,e),g.removeItem(e),!0}catch(e){return l=e,console.log("localstorage error",l),!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{g.setItem(e,JSON.stringify(o))}catch(e){return l=e,console.log("localstorage error",l),!1}return t},load:function(e){var t;if(!p)return!1;try{t=JSON.parse(g.getItem(e))}catch(e){return l=e,console.log("localstorage error",l),!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,m=n.skipCache,y=n.timeout||null,p=null,b=n.xhrConfigsCallback,c=n.data,l=null!=n.dataType?n.dataType:v,null==v&&(v=(v=t.split(“.”))[v.length-1]),d=”json”===v,h=”json”===l,!(r=this.getCache(o,m,d)))return(g=a(e,t))?(b&&”function”==typeof b&&b(g),f=”undefined”!=typeof XDomainRequest&&g instanceof XDomainRequest,g.onload||(g.onload=function(e){return function(){return p&&clearTimeout(p),f||g.status>=200&&g.status=0?t.expire:60,o=t.success||function(){},r=t.key||e,l=t.skipCache,a=”ajaxCacheJsonp”+this.jsonpId++,(n=this.getCache(r,l,!0))?o(n):(window[a]=function(e){return function(t){return e.complete(t,i,r,l,!0,o)}}(this),e+=-1===e.indexOf(“?”)?”?callback=”+a:”&callback=”+a,(c=s(a)).src=e,d.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,d.appendChild(o)},e.prototype.injectScript=function(e,t,n,r){var o;o=s(n),this.insertJsOnScriptTag(o,t,r),d.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,d.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,l,p,d,f,g;if(n=this,e)for(h(e)||(e=[e]),o=0,a=e.length;o!(!window.glb||!window.glb.cdnConfig),O=()=>A()?E.fnProduct:S,C=()=>A()?E.fnBuscaUrl:{},L=()=>A()?E.fnEnv:{},j=()=>{let e=O().name;return(e=”famosos”===e?”ego”:e)||”g1″},k=()=>window.localStorageCache.load(“fn-search-history”),P=e=>{let t=k()||[];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)},T=()=>{if(“undefined”==typeof document)return{};const e=document.querySelector(“.header__search”);if(!e)return{};const t=e.getAttribute(“data-search-tenant”)||null;return{tenantId:t,configId:e.getAttribute(“data-search-config-id”)||null||(t?`${t}Default`:null)}},I=e=>{const t=`${(()=>{const e=L();if(“qa”===e)return`${x}/suggest`;if(“prod”===e)return`${_}/suggest`;const t=O(),n=C();return n&&/^(http:|https:)?//.+/busca/?$/.test(n)?n:(t.search||t.home)&&”prod”===L()?`${t.search||t.home}busca/suggest`:”/busca/suggest”})()}?${w.a.stringify(e)}`;return v.a.get(t,{headers:(()=>{const e={Accept:”application/json”},{tenantId:t,configId:n}=T();return t&&(e[“X-Tenant-Id”]=t),n&&(e[“X-Config-Id”]=n),e})()})},R=()=>{const{tenantId:e}=T();return[e||j(),…window.searchTenantsRestriction||[]].filter(Boolean)},M=(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):I(e).then(t)},r=R(),o={score:!0,size:e};r.length>0&&(o.priority=r.join(“,”));const i=k();return new Promise((e,t)=>{n(o).then((e=>t=>({preSuggest:t,searchHistoryHtml:e,portalLabel:O().label}))(i)).then(e).catch(t)})},N=(e,t=6,n=3)=>{const r=R(),o={q:e,score:!0,size:Math.max(t,n)};return r.length>0&&(o.priority=r.join(“,”)),I(o)};var D=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{let e;return()=>new Promise(t=>{clearTimeout(e),e=setTimeout(()=>{t()},300)})})();var U=function(e,t){let n;return function(…r){const o=this;clearTimeout(n),n=setTimeout(()=>{e.apply(o,r)},t)}};var B=(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 F=(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 $=(e={})=>{const{baseSVGPath:t,insertHTML:n,className:r,placeholder:o,transitionDuration:i}=e,a=[i?`transition-duration: ${i}`:””],s=(e,t)=>”default-item”===t?(e=>”valorinternational”===O().name?`Search for “ ${e}“ at ${O().name}`:`Buscar por “ ${e}“ em ${O().name}`)(e):e;return n(`
`}n
n
n
n
`),{templateItem:({title:e=””,type:n,url:r,publisher:o,icone:i,iconeWidth:a,score:c,parent:l},u)=>”empty-message”===n?`
`:”block-title”===n?`
`:`n
n
n
n`}};var H=(e={})=>{const{transformPreSuggest:t,transformSuggest:n,limitResult:r,limitHistory:o,minLength:i}=e,a=i,s=”undefined”!=typeof window&&window.console?window.console:null,{templateItem:c}=$(e);let l=null;const u=e=>{document.querySelector(“.searchV2__suggest__items”).innerHTML=e.map(c).join(“”)},p=e=>Object.assign({},e,{limitResult:r,limitHistory:o}),d=()=>”preSuggest”===l?Promise.resolve():(l=”preSuggest”,new Promise(e=>M().then(p).then(t).then(u).then(e).catch(({message:e})=>{s&&s.error&&s.error(e)}))),f=({name:e,message:t})=>{switch(e){case”Validation”:d();break;default:s&&s.error&&s.error(t)}};return{renderPreSuggest:d,renderSuggest:e=>new Promise(t=>B(e,a).then(N).then(p).then(n(e)).then(u).then(()=>{l=”suggest”}).then(t).catch(f)),handleSuggestError:f}};var V=()=>{const e=document.body,t=e.querySelector(“.searchV2”),n=t.querySelector(“.searchV2__header__term”);let r,o=null;const i=(e,t)=>n=>{const r=((e,t)=>{if(!window.Element||!window.Element.prototype.closest){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}return e.closest(`.${t}`)})(n.target,e);r&&t.call(r,n)};let a={};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 s=`${t}–${e}`;a=Object.assign({},a,{[s]:i(t,n)}),o.addEventListener(e,a[s],r)},off:(e,t,n,r={},o=document.body)=>{o.removeEventListener(e,a[`${t}–${e}`],r)},attachEvent(e,n,r,o={}){const i=[].slice.call(t.querySelectorAll(n));for(let t=0;t<i.length;t+=1)i[t].addEventListener(e,r,o);return this},detachEvent(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`,window.requestAnimationFrame(()=>{const e=()=>{n(),t.removeEventListener(“transitionend”,e)};t.classList.add(“searchV2–animate”,”searchV2–opened”),t.addEventListener(“transitionend”,e)})},close:()=>{e.classList.remove(“searchV2__noscroll”),window.requestAnimationFrame(()=>{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 G=(e={})=>{const{debugMode:t=!1,handleGA:n}=e,r=”busca_framework”,o=”undefined”!=typeof window&&window.console?window.console:null,i=(…e)=>(t&&o&&(o.group(“Search tracking”),o.log([r,…e]),o.groupEnd(“Search tracking”)),n([“_trackEvent”,r,…e]));return{search:e=>i(“item buscado”,e),loadSuggest:e=>i(“suggest carregado”,e),clickItem:e=>{i(“suggests”,`clique | navegacional | ${e}`)},open:()=>i(“abrir busca”,”abrir busca”,!0),close:()=>i(“fechar busca”,”fechar busca”,!0),focus:()=>i(“foco campo”,”foco campo”,!0)}};const W=({keyCode:e})=>-1===[13].indexOf(e)?Promise.resolve():Promise.reject(),z=(e=””)=>{const t=(()=>{if(“undefined”==typeof document)return””;const e=document.querySelector(“.header__search”);return e?(e.getAttribute(“data-search-url”)||””).trim():””})();if(t){return`${t.replace(//+$/g,””)}/?q=${e}`}return`${O().home}busca/?q=${e}`},J=e=>{if(!e)return e;if(/^(https?:)?///.test(e))return e;const t=(()=>{if(“undefined”==typeof document||”undefined”==typeof window)return””;const e=document.querySelector(“.header__search”),t=e?e.getAttribute(“data-search-url”):””;if(!t)return””;try{return new URL(t,window.location.origin).origin}catch(e){return””}})();return t?e.startsWith(“/”)?`${t}${e}`:`${t}/${e}`:e},X={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}},K=e=>{const t=e.title||e.text,n=e.publisher?e.publisher.toLowerCase():””,r=e.parent||n,o=(“feature_content”===e.type||n)&&e.url?e.url:z(t),i=J(o);return{title:t,type:e.type||”searched”,url:i,score:e.score||null,publisher:n||””,icone:X[n]?X[n].name:”eixo-icone-busca”,iconeWidth:X[n]?X[n].width:22,parent:r||””}},Q=(()=>{const e=window.SEARCH_HOSTNAME||window.location.hostname;return[“valorinternational.globo.com”,”valorinternational.qa.globoi.com”].includes(e)?{topSearches:”Top searches”,recentSearches:”Recent Searches”,inputPlaceholder:”What are you looking for?”,emptyMessage:”No results found for”}:{topSearches:”Mais buscados”,recentSearches:”Buscas Recentes”,inputPlaceholder:”o que você procura?”,emptyMessage:”Nenhum resultado encontrado para”}})(),Y={data:{}},Z=e=>(e||””).toString().toLowerCase(),ee=()=>{if(“undefined”==typeof window)return{priority:null,restrictions:[]};const e=(()=>{if(“undefined”==typeof document)return””;const e=document.querySelector(“.header__search”);return e&&e.getAttribute(“data-search-tenant”)||””})()||(j?j():null);return{priority:Z(e),restrictions:Array.isArray(window.searchTenantsRestriction)?window.searchTenantsRestriction.map(Z).filter(Boolean):[]}},te={transformPreSuggest:e=>[…(({searchHistoryHtml:e,limitResult:t})=>e?[{title:Q.recentSearches,type:”block-title”},…e.reverse().slice(0,t).map(({data:e})=>K(e))]:[])(e),…(({preSuggest:e=Y,limitHistory:t})=>e.data.suggestions?[{title:Q.topSearches,type:”block-title”},…e.data.suggestions.slice(0,t).map(K)]:[])(e)],transformSuggest:e=>(t={})=>{const n=t.data||{};let r=[];”undefined”!=typeof window&&!0===window.ENABLE_FEATURED_CONTENT&&(Array.isArray(n.featured_content)?r=n.featured_content:Array.isArray(n.featuredContent)&&(r=n.featuredContent));const o=Array.isArray(n.suggestions)?n.suggestions:[],i=(()=>{const e=window.SEARCH_HOSTNAME||window.location.hostname;return[“valor.globo.com”,”valor.qa.globoi.com”].includes(e)?”valor”:[“pipelinevalor.globo.com”,”pipelinevalor.qa.globoi.com”].includes(e)?”pipelinevalor”:[“valorinveste.globo.com”,”valorinveste.qa.globoi.com”].includes(e)?”valorinveste”:”outro”})(),a=(e=>({valor:”searchvaloreconomico”,pipelinevalor:”searchpipeline”,valorinveste:”searchvalorinveste”})[e]||””)(i),{priority:s,restrictions:c}=ee();let l=r;”valor”===i?s&&(l=l.filter(e=>Z(e.product)===s)):[“pipelinevalor”,”valorinveste”].includes(i)?c.length>0&&(l=l.filter(e=>c.includes(Z(e.product)))):s&&(l=l.filter(e=>((e,t)=>[e.product,e.publisher,e.parent].some(e=>Z(e)===t))(e,s)));const u=l.map(e=>{const t=Object.assign({},e,{type:”feature_content”});return K(t)}).filter(e=>{const t=e.url||””;return!t.includes(“/valor-ri/empresa”)&&!t.includes(“interno_origem=multicontent”)}).map(e=>{if(!(e.url||””).includes(“/empresas/valor-empresas-360”))return e;const t=new URL(e.url,window.location.origin),n=t.origin+t.pathname;let r=t.searchParams.get(“interno_origem”);return r&&”multicontent”!==r||(r=a),Object.assign({},e,{url:`${n}?360&interno_origem=${r}`})}).sort((e,t)=>{const n=(e.url||””).includes(“/empresas/valor-empresas-360″),r=(t.url||””).includes(“/empresas/valor-empresas-360”);return n&&!r?-1:!n&&r?1:0}).slice(0,t.limitResult||6),p=o.slice(0,t.limitHistory||4).map(K);return 0===u.length&&0===p.length?[{title:`${Q.emptyMessage} “${e}”`,type:”empty-message”}]:[…u,…p,(e=>K({title:e,type:”default-item”}))(e)]},baseSVGPath:”svg/sprite.min.svg”,afterClose:null,className:””,placeholder:Q.inputPlaceholder,transitionDuration:null,limitResult:3,limitHistory:4,debugMode:!1,minLength:2,handleGA:e=>e,insertHTML(e){document.body.insertAdjacentHTML(“beforeEnd”,e)}};var ne=(e={})=>{const t=Object.assign({},te,e),{renderPreSuggest:n,renderSuggest:r,handleSuggestError:o}=H(t),i=G(t),a=V(t),s=t.minLength,c=()=>{a.btnReset.display=”hide”,a.term=””},l=U(e=>{!e||e.length{a.attachEvent(“click”,”.searchV2__item a”,function(){const e=this.parentNode.getAttribute(“data-search-url”);i.clickItem(e)}),i.loadSuggest(e)})},500),u=e=>{e.stopPropagation(),e.preventDefault();const t=a.term.trim();B(t,s).then((e=>()=>{P({title:e,url:z(e),score:null}),i.search(e),window.location.href=z(e)})(t)).catch(o)},p=F([D],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),P({url:t,title:n,publisher:this.getAttribute(“data-search-publisher”),score:this.getAttribute(“data-search-score”)})}),d=()=>{i.close(),a.close()},f=F([W,q,({target:e})=>(a.btnReset.display=e.value.length{const t=e.target.value.trim();l(t)}),h=F([D],e=>{n().then(c),e.preventDefault(),e.stopPropagation()}),g=F([D],d),m=()=>{i.focus()},y=()=>{a.attachEvent(“focus”,”.searchV2__header__term”,m).attachEvent(“keyup”,”.searchV2__header__term”,f).attachEvent(“touchstart”,”.searchV2__header__btn-back”,g,{passive:!0}).attachEvent(“touchstart”,”.searchV2__header__btn-reset”,h,{passive:!0}).attachEvent(“submit”,”.searchV2__header__form”,u),a.on(“touchstart”,”searchV2__item”,p,{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”,g,{passive:!0}).detachEvent(“touchstart”,”.searchV2__header__btn-reset”,h,{passive:!0}).detachEvent(“submit”,”.searchV2__header__form”,u).detachEvent(“touchstart”,”.searchV2__item”,p,{passive:!0}),a.off(“touchstart”,”searchV2__item”,p,{passive:!0})}),a.open(y)},close:d}},re=n(2),oe=n.n(re),ie=n(5),ae=n.n(ie),se=n(6),ce=n.n(se),le=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 n n n’,” “).concat(r);var s=document.createElement(“ul”);s.className=”search-suggest__menu-list”,o.forEach(function(e){var t=document.createElement(“li”),n=e.parent?’Em ‘.concat(e.parent,”“):””;t.innerHTML=’‘).concat(e.label).concat(n,”“),s.appendChild(t),i&&t.addEventListener(“click”,function(t){i(t,e)})}),t.appendChild(a),t.appendChild(s),e.appendChild(t)}}};function ue(e){for(;e.firstChild;)e.removeChild(e.firstChild)}var pe=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;ue(t),n.length>0&&le(t).render({label:”Recentes”,items:n}),r.length>0&&le(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”)}}},de=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)}}},fe=function(e){var t=e.searchUrl,n=e.term,r=e.label,o=n||””;return{url:””.concat(t,”/?q=”).concat(encodeURIComponent(o)),label:r||o,term:o}},he=[“valorinternational.globo.com”,”valorinternational.qa.globoi.com”].includes(window.location.hostname)?”valorinternational”:”other_tenant”,ge={valorinternational:”Results”,other_tenant:”Resultados”},me={valorinternational:”search for”,other_tenant:”buscar por”},ye=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;ue(t);var c=oe()(i),l=fe({searchUrl:n,term:r,label:”“.concat(me[he],’ “‘).concat(r,'”‘)});c.push(l),c.length>0&&le(t).render({label:ge[he],items:c,onClick:s})},show:function(){t.classList.add(“search-screen–is-active”)},hide:function(){t.classList.remove(“search-screen–is-active”)}}},ve=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(oe()(t)),o.set(r,t.slice(0,n)),o.get(r)||[]}},clear:function(){o.set(r,null)}}},be=n(3),we=n.n(be),_e=n(7),xe=n.n(_e),Se=n(1),Ee=n.n(Se),Ae=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=function(){var e=window.location.hostname;return[“valor.globo.com”,”valor.qa.globoi.com”].includes(e)?”valor”:[“pipelinevalor.globo.com”,”pipelinevalor.qa.globoi.com”].includes(e)?”pipelinevalor”:[“valorinveste.globo.com”,”valorinveste.qa.globoi.com”].includes(e)?”valorinveste”:”outro”},o=function(){return t?{“X-Tenant-Id”:t,”X-Config-Id”:””.concat(t,”Default”)}:{}},i=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(function(e){if(!e)return null;if(“string”==typeof e)return{text:e,highlighted:e};if(“object”===xe()(e)){var t=e.text||e.term||e.label||””;return t?{text:t,highlighted:e.highlighted||e.label||t}:null}return null}).filter(Boolean)},a=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=({pipelinevalor:[“pipelinevalor”],valorinveste:[“valor-investe”]}[arguments.length>2&&void 0!==arguments[2]?arguments[2]:r()]||n||[]).filter(Boolean),a=i.length>0?i.join(“,”):t,s=new URLSearchParams;return s.set(“size”,e),a&&s.set(“priority”,a),o&&s.set(“q”,o),””.concat(function(){var e=window.location.hostname;return e.includes(“.qa.”)||e.includes(“localhost”)?”https://suggestions.qa.globoi.com/v1/suggest”:”https://suggestions.globo.com/v1/suggest”}(),”?”).concat(s.toString())},s=function(e,t){return[“valor”,”valorinveste”,”pipelinevalor”].includes(t)?oe()(e).filter(function(e){var t;return!(null!==(t=e.url)&&void 0!==t&&t.includes(“interno_origem=multicontent”))}).map(function(e){var n;if(null!==(n=e.url)&&void 0!==n&&n.includes(“/empresas/valor-empresas-360”)&&!e.url.includes(“interno_origem”)){var r=e.url.split(“?”)[0];e.url=””.concat(r,”?360&interno_origem=”).concat(function(e){return{valor:”searchvaloreconomico”,pipelinevalor:”searchpipeline”,valorinveste:”searchvalorinveste”}[e]||””}(t))}return e}).sort(function(e,t){var n,r;return(null!==(n=e.url)&&void 0!==n&&n.includes(“/empresas/valor-empresas-360”)?0:1)-(null!==(r=t.url)&&void 0!==r&&r.includes(“/empresas/valor-empresas-360”)?0:1)}):e};return{getCoverItems:function(){var t=we()(Ee.a.mark(function t(){var n,r,s,c,l,u=arguments;return Ee.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=u.length>0&&void 0!==u[0]?u[0]:3,t.prev=1,t.next=2,fetch(a(n),{headers:o()});case 2:if((r=t.sent).ok){t.next=3;break}throw new Error(“HTTP error “.concat(r.status));case 3:return t.next=4,r.json();case 4:return s=t.sent,c=i(s.suggestions),t.abrupt(“return”,c.map(function(t){return fe({searchUrl:e,term:t.text,label:t.highlighted||t.text})}));case 5:return t.prev=5,l=t.catch(1),console.error(“[SearchSuggest]”,l),t.abrupt(“return”,[]);case 6:case”end”:return t.stop()}},t,null,[[1,5]])}));return function(){return t.apply(this,arguments)}}(),getSuggestItems:function(){var c=we()(Ee.a.mark(function c(l){var u,p,d,f,h,g,m,y,v,b=arguments;return Ee.a.wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return u=b.length>1&&void 0!==b[1]?b[1]:3,p=r(),[“valorinveste”,”pipelinevalor”].includes(p)&&(u=6),c.prev=1,c.next=2,fetch(a(u,l,p),{headers:o()});case 2:if((d=c.sent).ok){c.next=3;break}throw new Error(“HTTP error “.concat(d.status));case 3:return c.next=4,d.json();case 4:return f=c.sent,h=i(f.suggestions),g=h.map(function(t){return fe({searchUrl:e,term:t.text,label:t.highlighted||t.text})}),m=[],”valor”===p?t&&(m=m.filter(function(e){var n;return e.product===t&&!(null!==(n=e.url)&&void 0!==n&&n.includes(“/valor-ri/empresa”))})):[“pipelinevalor”,”valorinveste”].includes(p)?n.length>0&&(m=m.filter(function(e){var t;return(n.includes(e.product)||n.includes(e.publisher)||n.includes(e.parent))&&!(null!==(t=e.url)&&void 0!==t&&t.includes(“/valor-ri/empresa”))})):t&&(m=m.filter(function(e){return e.product===t||e.publisher===t||e.parent===t})),[“valorinveste”,”pipelinevalor”].includes(p)&&(m=(m=m.filter(function(e,t,n){return t===n.findIndex(function(t){return t.url===e.url})})).slice(0,3)),m=s(m,p),y=m.map(function(e){return{url:e.url,label:e.title,parent:e.parent||e.publisher}}),c.abrupt(“return”,[].concat(oe()(y),oe()(g)));case 5:return c.prev=5,v=c.catch(1),console.error(“[SearchSuggest]”,v),c.abrupt(“return”,[]);case 6:case”end”:return c.stop()}},c,null,[[1,5]])}));return function(e){return c.apply(this,arguments)}}()}},Oe=function(){return ce()(function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ae()(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=de(this.root),this.main.render(),this.cover=pe(this.main.root),this.suggest=ye(this.main.root),this.searchTenantsRestriction=[this.searchTenant].concat(oe()(window.searchTenantsRestriction)),this.suggestService=Ae(this.searchUrl,this.searchTenant,this.searchTenantsRestriction),this.latestStorage=ve({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()},[{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(fe({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()})}}])}(),Ce=function(){var e=document.getElementById(“header”),t=document.querySelector(“.header-lift”),n=document.getElementById(“header-placeholder”),r=e.scrollHeight/2,o=e.classList.contains(“header–has-gcom-bar”),i=0;new Oe({rootSelector:”.header__search “,inputSelector:”.header__search__input”});var a=function(){n.style.height=”50px”},s=function(){n.style.height=”0px”},l=ne({baseSVGPath:””}),u=document.querySelector(“.header__search__icon”)||document.querySelector(“.header__search__icon_vi”)||document.querySelector(“.header__search__icon_usp”);u&&u.addEventListener(“click”,function(e){e.preventDefault(),c()||l.open()});var p=function(){var n=window.pageYOffset,l=e.classList.contains(“header–fixed”),u=t.classList.contains(“header–fixed”);e.classList.contains(“header–internal”)&&c()&&!o||(c()?n>=r&&!l?(e.classList.add(“header–fixed”),t.classList.add(“header–fixed”),a()):n<r&&l&&(e.classList.remove("header–fixed"),t.classList.remove("header–fixed"),s()):Math.abs(n-i)e.scrollHeight?(e.classList.add(“header–preanim”),a(),i>n?e.classList.add(“header–fixed”):e.classList.remove(“header–fixed”)):(e.classList.remove(“header–preanim”),e.classList.remove(“header–fixed”),s()),i=n))};p(),document.addEventListener(“scroll”,p),window.addEventListener(“resize”,p);var d=document.getElementById(“btn_cbn_ao_vivo”);d&&d.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(38);var Le=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{let e=!0;return()=>new Promise(t=>{setTimeout(()=>{e=!0},500),e&&(e=!1,t())})})();var ke=(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 Pe=(e,t=document)=>t.querySelector(e),Te=(e,t=document)=>t.querySelectorAll(e),Ie=(e,t,n,r)=>{t.addEventListener(e,n,r)},Re=(e,t,n,r={})=>{if(t.length)for(let o=0;o{if(t.length)for(let o=0;o{const i=`${t}–${e}`;Ne=Object.assign({},Ne,{[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,Ne[i],r)},qe=(e,t,n,r={},o=document.body)=>{o.removeEventListener(e,Ne[`${t}–${e}`],r)},Ue=e=>[].slice.call(e),Be=(e,t)=>{const n={back:“,next:“};return`data:image/svg+xml;charset=utf8,${encodeURIComponent(n[e]||””)}`};var Fe=(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,l=null;let u,p=!1;const d=()=>{p=!0},f=()=>{i&&!p&&window.requestAnimationFrame(()=>{if(o&&Math.abs(o-Math.abs(c))>=30){const e=Math.min(0,c-a),r=Math.max(0,.7+e/u);n.style.transform=`translateX(${e}px)`,t.style.opacity=r,o=c}})},h=function(e){a=e.touches[0].pageX,s=e.touches[0].pageY,c=a,l=s,o=a,i=t.classList.contains(“menu-curtain–opened”),Re(“scroll”,Te(“.menu-level”,n),d,{passive:!0}),u||(u=n.getBoundingClientRect().width),window.requestAnimationFrame(f)},g=function(e){i&&!p&&(c=e.touches[0].pageX,l=e.touches[0].pageY,window.requestAnimationFrame(f))},m=function(){if(!i)return;i=!1,p=!1,o=null;const e=Math.min(0,c-a),u=Math.abs(l-s);Me(“scroll”,Te(“.menu-level”,n),d,{passive:!0}),n.style.transform=””,t.style.opacity=””,u<=Math.abs(e)&&e{Re(“scroll”,Te(“.menu-level”,n),d,{passive:!0}),document.addEventListener(“touchstart”,h,{passive:!0}),document.addEventListener(“touchmove”,g,{passive:!0}),document.addEventListener(“touchend”,m,{passive:!0}),u||(u=n.getBoundingClientRect().width)},close:()=>{i=!1,p=!1,document.removeEventListener(“touchstart”,h,{passive:!0}),document.removeEventListener(“touchmove”,g,{passive:!0}),document.removeEventListener(“touchend”,m,{passive:!0}),Me(“scroll”,Te(“.menu-level”,n),d,{passive:!0})}}};let $e=!1;var He=(e={})=>{if($e)return!0;const{container:t,cadunServiceId:n,cadunLoginURL:o,cadunUsePopin:i}=e,{qs:a}=r,s=ke([je,Le]),c=a(“.menu-login”,t),l=a(“a.menu-login__item-login__link”,c),u=a(“.menu-login__item-logout”,c),p=a(“a.menu-login__item-logout__link”,c),d=a(“.menu-login__item__name”,c),f=a(“.menu-login__item__avatar”,c),h=a(“.menu-login__item__icon–avatar”,c),g=a(“.menu-login–logged”,c),m=a(“.menu-login–not-logged”,c),y=()=>{const e=window.Cadun.user.me;return”name”in e&&””!==e.name},v=e=>{m.style.display=e[0],u.style.display=e[1],g.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=>{f&&h&&(e.picture?(f.innerHTML=“,f.style.display=”block”,h.style.display=”none”):(f.innerHTML=””,f.style.display=”none”,h.style.display=”block”))})(e),d.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=()=>{l.addEventListener(“click”,e=>e.preventDefault()),l.addEventListener(“click”,s(_)),l.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()})}}),$e=!0,!0};var Ve=(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 Ge={debug:!1,color:”#000″,cadunServiceId:4728,cadunLoginURL:null,cadunUsePopin:!0,handleGA(){}};var We=(e={})=>{const t=Object.assign({},Ge,e),{qs:n,qsAll:o,attachEvent:i,toArray:a,on:s,off:c}=r,l=Ve(t),u=document.body,p=document.documentElement,d=n(“#menu-container”),f=n(“#menu-curtain”),h=n(“.menu-level-0”,d),g=n(“.menu-level–opened”,d)||n(“.menu-level”,d),m=n(“.menu-rounder”,d),y=n(“.menu-btn-back__label”,d),v=y&&y.textContent,b=n(“.menu-btn-back__label”,g),w=b&&b.textContent;let _=0;const x=ke([je,Le]),S=+g.classList.contains(“menu-level–opened”);let E=S;const A=d.dataset.menuWidth||272,O=e=>{b&&(b.textContent=e)};O(v);const C=e=>{requestAnimationFrame(()=>{m.style.transform=`translateX(-${e*A}px)`,d.scrollTop=0})},L=()=>{const e=a(o(“.menu-level–opened”,d));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||(m.classList.add(“menu-rounder–opened-all”),O(w)),m.removeEventListener(“transitionend”,L)},j=e=>{“function”==typeof e&&requestAnimationFrame(()=>e())},k=x(function(){l.push(this),requestAnimationFrame(()=>{j(()=>{(E=E-1<=0?0:E-1){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”),C(E)}):this.target?window.open(this.href,this.target):window.location.href=this.href}),T=e=>e.preventDefault(),I=function(){l.makeTracking(“links clicaveis”,this.dataset.trackingLabel)},R=function(){const e=this.querySelector(“.regua-navegacao-menu-item”).textContent;l.makeTracking(“links nao clicaveis”,e)},M=()=>{.14===_&&(u.classList.remove(“menu–no-scroll”),p.classList.remove(“menu–no-scroll”),requestAnimationFrame(()=>{a(o(“.menu-level–opened”,d)).forEach(e=>{e.classList.remove(“menu-level–opened”)})}),_=0,g.classList.add(“menu-level–opened”),S&&m.classList.add(“menu-initial”),m.classList.remove(“menu-rounder–opened-all”),m.style.transform=””,E=S,O(v),f.classList.remove(“menu-curtain–animate”),h.classList.remove(“menu-level–opened”),c(“click”,”menu-btn-back”,T),c(“click”,”menu-btn-back”,k,{passive:!0}),c(“touchstart”,”menu-btn-back”,k,{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”,I),c(“click”,”menu-submenu-title”,R),d.removeEventListener(“transitionend”,M))},N=e=>{f.classList.remove(“menu-curtain–opened”),_=.14,e?(l.makeTracking(“interacoes menu”,”swipe menu fechado”),e.close()):l.makeTracking(“interacoes menu”,”click menu fechado”),d.addEventListener(“transitionend”,M)},D=Fe({onClose:()=>{N(D)}}),q=()=>{S||(m.classList.add(“menu-rounder–opened-all”),m.classList.remove(“menu-initial”))},U=()=>{n(S?”.menu-level–opened”:”.menu-level-0″,d).classList.add(“menu-level–opened”,”first-layer”),s(“click”,”menu-btn-back”,T),s(“click”,”menu-btn-back”,k,{passive:!0}),s(“touchstart”,”menu-btn-back”,k,{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”,I),s(“click”,”menu-submenu-title”,R),D.open(),d.removeEventListener(“transitionend”,U)},B=e=>{“menu-curtain”===e.target.id&&(N(),D.close())};return q(),E&&n(“.menu-initial”,d).classList.add(“menu-loaded”),d.style.display=”block”,((e={})=>{const{color:t}=e,n=document.createElement(“style”),r=Be(“back”,t),o=document.createTextNode(`.menu-btn-back__icon { background-image: url(“https://extra.globo.com/esporte/noticia/2026/06/${r}”); }`),i=Be(“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”,f,x(B),{passive:!0}),i(“click”,f,x(B),{passive:!0}),{toggle:(e=null)=>{(null!==e?e:!f.classList.contains(“menu-curtain–opened”))?(_=.33,u.classList.add(“menu–no-scroll”),p.classList.add(“menu–no-scroll”),f.classList.add(“menu-curtain–opened”,”menu-curtain–animate”),q(),l.makeTracking(“interacoes menu”,”click menu exibido”),d.addEventListener(“transitionend”,U),He({container:d,cadunServiceId:t.cadunServiceId,cadunLoginURL:t.cadunLoginURL,cadunUsePopin:t.cadunUsePopin})):(N(),D.close())}}},ze=function(){return ce()(function e(){ae()(this,e),this.handleMenuToggle=this.handleMenuToggle.bind(this),this.menuEl=document.getElementById(“menu-toggle”),this.menuCtnr=document.getElementById(“menu-container”),this.curtain=document.getElementById(“menu-curtain”),this.productColor=this.menuEl.getAttribute(“data-product-color”),this.navigateByArrow=window.header_data_navigation_by_arrow||!1;try{this.menu=We({color:this.productColor,navigateByArrow:this.navigateByArrow,handleGA:function(e){window._gaq&&window._gaq.push(e)}}),this.initEvents(),this.observeCurtain()}catch(e){console.error(“Erro ao renderizar o menu: “,e)}},[{key:”handleMenuToggle”,value:function(e){e.stopPropagation(),this.menu.toggle(),this.syncMenuState()}},{key:”syncMenuState”,value:function(){this.curtain.classList.contains(“menu-curtain–opened”)?this.menuCtnr.classList.remove(“hidden-menu”):this.menuCtnr.classList.add(“hidden-menu”)}},{key:”observeCurtain”,value:function(){var e=this;new MutationObserver(function(){return e.syncMenuState()}).observe(this.curtain,{attributes:!0,attributeFilter:[“class”]})}},{key:”initEvents”,value:function(){this.menuEl.addEventListener(“click”,this.handleMenuToggle)}}])}(),Je=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)}()}},Xe=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})}},Ke=n(15),Qe=n.n(Ke);function Ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ze(e){for(var t=1;t0&&function(){t.apply(this,arguments)}()}catch(e){alert(“catch login”),console.log(“[initLogin] catch (e)…”.concat(e))}function t(){return(t=we()(Ee.a.mark(function e(){var t,r,i;return Ee.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=document.getElementById(“menu__loader”),r=document.getElementById(“header__loader”),e.next=1,n();case 1:i=e.sent,t.style.display=”none”,r.style.display=”none”,o(i),new Qe.a({useStrategy:i,loginAreaContainer:oidcSettings.loginAreaContainer});case 2:case”end”:return e.stop()}},e)}))).apply(this,arguments)}function n(){return r.apply(this,arguments)}function r(){return(r=we()(Ee.a.mark(function e(){var t,n,r;return Ee.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(“playlist”!=window.utag_data.content_type&&”Votação”!=window.utag_data.content_type){e.next=3;break}if(!window.globalWebdeps){e.next=2;break}return e.next=1,window.globalWebdeps(“globoid-js”);case 1:console.log(“[initLogin] GloboID JS loaded via GlobalWebdeps”),e.next=3;break;case 2:console.warn(“[initLogin] GlobalWebdeps not available, trying fallback…”);case 3:return t=[“techtudo”],n=window.location.host,r=new Ke.strategies.oidc.default(Ze({CLIENT_ID:oidcSettings.clientId,RESOURCE:oidcSettings.clientId,URL:oidcSettings.url,REDIRECT_URI:oidcSettings.redirectUri},t.some(function(e){return n.includes(e)})&&{ONLOAD:!1,LEGACY_COMPATIBLE:!1})),e.next=4,r.initGloboIdClient();case 4:return e.abrupt(“return”,r);case 5:case”end”:return e.stop()}},e)}))).apply(this,arguments)}function o(e){window.editoraGloboAuthenticationLib={},e.isLogged().then(function(){var t=we()(Ee.a.mark(function t(n){var r;return Ee.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r=e.EdgGloboIdData,window.editoraGloboAuthenticationLib={login:e.login,isLogged:r[0].isLogged,EdgGloboIdData:r};case 1:case”end”:return t.stop()}},t)}));return function(e){return t.apply(this,arguments)}}())}},tt=function(){return ce()(function e(){ae()(this,e),this.exposeMenuListItemEl=document.querySelectorAll(‘li[class=”expose-menu”]’),this.toggleSubmenu,this.handleMouseOver=this.handleMouseOver.bind(this),this.registerHandlers()},[{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 l=document.getElementById(“header”);document.addEventListener(“scroll”,function(e){l.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.exposeMenuListItemEl&&Array.from(this.exposeMenuListItemEl).map(this.handleMouseOver)}}])}();Ce(),new tt,new ze,Je(),Xe(),et()},function(e,t,n){“use strict”;n.r(t);var r=class{handleEventListener(e){document.querySelectorAll(e.trigger).forEach(t=>t.addEventListener(e.type,e.handler))}render(e={}){const t=document.querySelector(e.template).innerHTML;document.querySelector(e.container).innerHTML=t,e.events.map(e=>{this.handleEventListener(e)})}};const o={loginAreaContainer:[{rootElement:”.header__actions”,signedInTemplateSelector:'[data-template=”header-signedin”]’,signedOutTemplateSelector:'[data-template=”header-signedout”]’},{rootElement:”.menu-login__item”,signedInTemplateSelector:'[data-template=”menu-signedin”]’,signedOutTemplateSelector:'[data-template=”menu-signedout”]’}],loginButtonSelector:'[data-action=”login”]’,logoutButtonSelector:'[data-action=”logout”]’,loginWallSelector:”data-login”,userContainers:{userPicture:'[data-content=”user-picture”]’,userName:'[data-content=”user-name”]’},useStrategy:null};t.default=class extends r{constructor(e={}){super();const{loginAreaContainer:t,loginButtonSelector:n,logoutButtonSelector:r,loginWallSelector:i,userContainers:a,useStrategy:s}=Object.assign({},o,e);this.renderContainers=t,this.actionLogin=n,this.actionLogout=r,this.WallSelector=i,this.userPictureContainer=a.userPicture,this.userNameContainer=a.userName,this.strategy=s,this.handleLogin=this.handleLogin.bind(this),this.handleLogout=this.handleLogout.bind(this),this.initEvents()}handleLogin(e){e.preventDefault(),this.strategy.login()}handleLogout(e){e.preventDefault(),this.strategy.logout()}async renderUserData(){const e=await this.strategy.retrieveUserData();e&&”object”==typeof e&&(document.querySelectorAll(this.userPictureContainer).forEach(t=>{if(e.picture||e.photoUrl){let n=document.createElement(“img”);n.setAttribute(“alt”,e.name||e.userName||””),n.setAttribute(“src”,e.picture||e.photoUrl||””),t.appendChild(n)}else{const e=””;t.insertAdjacentHTML(“beforeend”,e)}}),document.querySelectorAll(this.userNameContainer).forEach(t=>{const n=e.name||e.userName||””;n&&(t.innerText=n.split(” “)[0])}))}async renderLoginArea(){const e=await this.strategy.isLogged();this.renderContainers.map(t=>{this.render({container:t.rootElement,template:e?t.signedInTemplateSelector:t.signedOutTemplateSelector,events:[{type:”click”,handler:e?this.handleLogout:this.handleLogin,trigger:e?this.actionLogout:this.actionLogin}]})}),e?this.renderUserData():this.handleEventListener({type:”click”,handler:this.handleLogin,trigger:this.actionLogin})}async bindLoginWall(){const e=await this.strategy.isLogged();try{document.querySelector(`[${this.WallSelector}]`).setAttribute(this.WallSelector,e)}catch(e){}}initEvents(){this.renderLoginArea(),this.bindLoginWall()}}}]);
!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”;n.r(t);n(1);var r=document.querySelector(“.header-coluna__column-info”),o=document.querySelector(“.header-coluna__column-info-content-container”);r&&o&&r.addEventListener(“click”,function(){o.classList.toggle(“visible”)})},function(e,t,n){}]);
!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=3)}([,,,function(e,t,r){“use strict”;r.r(t);r(4)},function(e,t,r){}]);
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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=5)}({0:function(e,t,n){},5:function(e,t,n){“use strict”;n.r(t);n(0);var r,i=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType(“navigation”)[0]},o=function(e){if(“loading”===document.readyState)return”loading”;var t=i();if(t){if(e<t.domInteractive)return"loading";if(0===t.domContentLoadedEventStart||e<t.domContentLoadedEventStart)return"dom-interactive";if(0===t.domComplete||e(t||100)-1)return n||i;if(n=n?i+”>”+n:i,r.id)break;e=r.parentNode}}catch(e){}return n},u=-1,d=function(){return u},s=function(e){addEventListener(“pageshow”,function(t){t.persisted&&(u=t.timeStamp,e(t))},!0)},f=function(){var e=i();return e&&e.activationStart||0},l=function(e,t){var n=i(),r=”navigate”;return d()>=0?r=”back-forward-cache”:n&&(document.prerendering||f()>0?r=”prerender”:document.wasDiscarded?r=”restore”:n.type&&(r=n.type.replace(/_/g,”-“))),{name:e,value:void 0===t?-1:t,rating:”good”,delta:0,entries:[],id:”v3-“.concat(Date.now(),”-“).concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},p=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver(function(e){Promise.resolve().then(function(){t(e.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},v=function(e,t,n,r){var i,o;return function(a){t.value>=0&&(a||r)&&((o=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=o,t.rating=function(e,t){return e>t[1]?”poor”:e>t[0]?”needs-improvement”:”good”}(t.value,n),e(t))}},m=function(e){var t=function(t){“pagehide”!==t.type&&”hidden”!==document.visibilityState||e(t)};addEventListener(“visibilitychange”,t,!0),addEventListener(“pagehide”,t,!0)},g=function(e){document.prerendering?addEventListener(“prerenderingchange”,function(){return e()},!0):e()},y=(new Date,0),h=1/0,_=0,b=function(e){e.forEach(function(e){e.interactionId&&(h=Math.min(h,e.interactionId),_=Math.max(_,e.interactionId),y=_?(_-h)/7+1:0)})},T=function(){return r?y:performance.interactionCount||0},E=function(){“interactionCount”in performance||r||(r=p(“event”,b,{type:”event”,buffered:!0,durationThreshold:0}))},w=[200,500],S=0,L=function(){return T()-S},P=[],I={},M=function(e){var t=P[P.length-1],n=I[e.interactionId];if(n||P.lengtht.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};I[r.id]=r,P.push(r)}P.sort(function(e,t){return t.latency-e.latency}),P.splice(10).forEach(function(e){delete I[e.id]})}};!function(e,t){!function(e,t){t=t||{},g(function(){var n;E();var r,i=l(“INP”),o=function(e){e.forEach(function(e){e.interactionId&&M(e),”first-input”===e.entryType&&!P.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})&&M(e)});var t,n=(t=Math.min(P.length-1,Math.floor(L()/50)),P[t]);n&&n.latency!==i.value&&(i.value=n.latency,i.entries=n.entries,r())},a=p(“event”,o,{durationThreshold:null!==(n=t.durationThreshold)&&void 0!==n?n:40});r=v(e,i,w,t.reportAllChanges),a&&(“PerformanceEventTiming”in window&&”interactionId”in PerformanceEventTiming.prototype&&a.observe({type:”first-input”,buffered:!0}),m(function(){o(a.takeRecords()),i.value0&&(i.value=0,i.entries=[]),r(!0)}),s(function(){P=[],S=T(),i=l(“INP”),r=v(e,i,w,t.reportAllChanges)}))})}(function(t){!function(e){if(e.entries.length){var t=e.entries.sort(function(e,t){return t.duration-e.duration||t.processingEnd-t.processingStart-(e.processingEnd-e.processingStart)})[0],n=e.entries.find(function(e){return e.target});e.attribution={eventTarget:c(n&&n.target),eventType:t.name,eventTime:t.startTime,eventEntry:t,loadState:o(t.startTime)}}else e.attribution={}}(t),e(t)},t)}(function(e){e.name;var t=e.value,n=e.id,r=e.attribution,i=r.eventEntry,o={event:”EventoINP”,metric_inp_value:t,metric_id:n,metric_inp_event_target:r.eventTarget,metric_inp_event_type:r.eventType,metric_inp_load_state:r.loadState,metric_inp_start_time:i.startTime,metric_inp_processing_start:i.processingStart,metric_inp_processing_end:i.processingEnd,metric_inp_duration:i.duration,metric_inp_interaction_id:i.interactionId};try{window&&void 0!==window.dataLayer&&null!==window.dataLayer&&(window.dataLayer.push(o),console.log(“eventParams_inp”,o))}catch(e){console.error(e)}})}});
!function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,”default”,{enumerable:!0,value:e}),2&t&&”string”!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},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=1)}([function(e,t,n){“use strict”;n.d(t,”a”,(function(){return m}));const i=”impressionViewable”,r=”slotRenderEnded”,a=(e,t)=>{window.setTimeout((function n(){window[e]?t():window.setTimeout(n,50)}),50)};class s{constructor(e,t=[],n){this.isMabActive=e,this.currentChannel=window.cdaaas.SETTINGS.CHANNEL,this.currentTenant=window.cdaaas.SETTINGS.SITE_ID,this.tenants=t,this.interval=void 0,this.triggerZone={},this.triggerZoneMap=new Map,this.mab=void 0,this.adContainers=document.querySelectorAll(“.mc-has-ad-lazyload”),this.gptExperiment=n,this.bannersCropped=[]}getPositionExperiment(e){if(this.tenants.length>0&&this.currentTenant&&this.currentChannel&&e){const t=this.tenants.filter(e=>e.name===this.currentTenant)[0]||[];return(t.channels&&t.channels.filter(e=>e.channel===this.currentChannel)[0]||[]).positions.filter(t=>t.position===e)[0]||{}||””}return””}resolveAllPromisses(e){return e&&Array.isArray(e)?Promise.all(Array.from(e,([e,t])=>Promise.resolve(t).then(t=>[e,t]))).then(e=>new Map(e)):new Promise(e=>e(new Map))}extractExperiment(e,t,n){if(n){const e=t&&t.split(“__”)[0]||””;return n&&n.size>0&&n.get(e)||{}}return{}}generateExperiments(){const e=[],t=[];for(const n of this.adContainers){const i=n.getAttribute(“data-id”).split(“__”)[0],r=this.getPositionExperiment(i).experiment;if(!t.includes(i)){t.push(i);const n=this.mab.choose(r);e.push([i,n])}}return e}__configureTriggerZone(e){for(const[t,n]of e)this.triggerZone[t]=screen.height*+n.arm.split(“:”).splice(-1)[0];this.triggerZone.default=2*screen.height}__configureMAB(e){const{googletag:t,utag_data:n,GloboAB:a}=window;if(a&&t&&”function”==typeof t.pubads&&n&&n[“ut.env”]){const t=new a(n[“ut.env”]||”qa”);t.options().skipImpression();const s=t.mab();e.setMabClient(s);const o=e.generateExperiments();e.resolveAllPromisses(o).then(t=>{e.setTzMap(t),window.googletag.pubads().addEventListener(i,t=>e.__bannerListenerCallback(t,e,i)),window.googletag.pubads().addEventListener(r,t=>e.__bannerListenerCallback(t,e,r)),e.__triggerBasicServices()},t=>{console.warn(“(MC Ads) Mab Promise Rejection, using default value instead”,t),e.__triggerBasicServices()}).catch(()=>{console.warn(“(MC Ads) Some problems ocurring when fetch MAB Values, using default value instead”),e.__triggerBasicServices()}),clearInterval(this.interval)}}__bannerListenerCallback(e,t,n){const a=e.slot.getSlotElementId();{const e=this.extractExperiment(t.currentChannel,a,t.triggerZoneMap);if(a&&Object.keys(e).length>0)switch(n){case i:t.mab.reward(e);break;case r:t.mab.increment(e)}}}thisTenantHaveMab(){return this.tenants.filter(e=>e.name===this.currentTenant)[0]}start(){const e=this;this.isMabActive&&this.tenants.length>0&&this.thisTenantHaveMab()?this.interval=setInterval(()=>this.__configureMAB(e),500):(this.__triggerBasicServices(),this.__configureABTriggers())}__configureABTriggers(){const e=[“banner_materia1″,”banner_materia2″,”banner_materia”],t=(t,n)=>{if((“desktop”!==this.currentChannel||”banner_materia1″!==n)&&(t=>e.includes(t.split(“__”)[0]))(n))switch(t){case”conversion”:this.gptExperiment&&this.gptExperiment.conversion();break;case”impression”:this.gptExperiment&&this.gptExperiment.impression()}};if(this.gptExperiment){const e=setInterval(()=>{window.googletag&&window.googletag.pubads&&(window.googletag.pubads().addEventListener(r,e=>t(“impression”,e.slot.getSlotElementId())),window.googletag.pubads().addEventListener(i,e=>t(“conversion”,e.slot.getSlotElementId())),clearInterval(e))},500)}}__triggerBasicServices(){this.__configureTriggerZone(this.triggerZoneMap),this.__watchTriggerZone(),this.__watchAdsVisibility()}__watchAdsVisibility(){const e=e=>{const t=e.getAttribute(“data-id”)&&e.getAttribute(“data-id”).split(“__”)[0],n=this.triggerZone[t]||this.triggerZone.de;window.ScrollSpy.add({el:e,offset:n,ctx:this,callback:e=>{this.__initBanner(e)}})};let t=!!document.getElementById(“banner_materia2”);this.adContainers.forEach(n=>{const i=document.querySelector(“.mc-article-body”);if(“banner_materia2″===n.getAttribute(“data-id”)){if(t)return void(e=>{const t=e.closest(‘[data-block-type=”ads”]’)||e.parentNode;t&&(t.style.display=”none”)})(n);t=!0}if(n.closest(“.cropped-block”)&&i.classList.contains(“cropped”))return this.bannersCropped.push(n);e(n)});const n=document.getElementById(“mc-read-more-btn”);n&&n.addEventListener(“click”,()=>this.bannersCropped.forEach(e))}__initBanner(e){a(“bannerLazyLoading”,()=>this.__defineBanner(e))}__defineBanner(e){const t=e.getAttribute(“data-id”);e.setAttribute(“id”,t);const n=this.extractExperiment(this.currentChannel,t,this.triggerZoneMap),i={};i.gptLazyload=this.gptExperiment&&”lazyload-nativo-google”===this.gptExperiment.alternative||!1,this.thisTenantHaveMab()&&(i.abAlternative=(()=>{if(n&&n.abAlternative)return”(control)”===n.abAlternative.split(” “)[0]?”control”:”mab”})()),setTimeout(this.__createIntersection(e,t,i),0)}__throttle(e,t=100,n){let i,r;return()=>{const a=n||this,s=+new Date,o=arguments;i&&s{i=s,e.apply(a,o)},t)):(i=s,e.apply(a,o))}}__watchTriggerZone(){window.addEventListener(“resize”,this.__throttle(()=>this.__configureTriggerZone(this.triggerZoneMap)),!1)}setMabClient(e){this.mab=e}setTzMap(e){this.triggerZoneMap=e}__createIntersection(e,t,n){const i={rootMargin:2*window.innerHeight+”px”,threshold:.5};new IntersectionObserver((function(e,i){e.forEach(e=>{e.isIntersecting&&(window.bannerLazyLoading(t,n),i.unobserve(e.target))})}),i).observe(e)}}function o(){const e=[];document.addEventListener(“adserver-ad-rendered”,t=>{let n,i,r=0,a=null;if(t.publicidade_visivel){if(n=document.querySelector(`#${t.id_elemento}.mc-has-reveal`),!n||!ScrollSpy||!getComputedStyle||e.indexOf(t.id_elemento)>=0)return;e.push(t.id_elemento),a=n.parentNode;const s=function(){let e;return”undefined”!=typeof pageYOffset?pageYOffset:(e=document.documentElement,e=e.clientHeight?e:document.body,e.scrollTop)}();if(a.getBoundingClientRect().top+s{a.style.height=r+”px”})}})}})}const c=[“redeglobo”],l=e=>{if(c.includes(window.cdaaas.SETTINGS.SITE_ID))try{a(“GloboAB”,async()=>{const t=new GloboAB(“prod”),n=await t.choose(“multicontent-redeglobo-lazyload-gpt”);e(n)})}catch(t){e()}else e()},d=(e,t,n)=>`mc-${e}-lazy-load-advwblt.v2:${t}:${n}`,g=e=>[{position:”banner_materia2″,experiment:d(e,”smart”,”banner-materia2″)},{position:”banner_materia”,experiment:d(e,”smart”,”banner-materia”)},{position:”banner_materia1″,experiment:d(e,”smart”,”banner-materia1″)}],u=e=>[{position:”banner_materia2″,experiment:d(e,”desktop”,”banner-materia2″)},{position:”banner_materia”,experiment:d(e,”desktop”,”banner-materia”)}],p=[];[“g1″,”ge”,”gshow”].forEach(e=>p.push({name:e,channels:[{channel:”smart”,positions:g(e)},{channel:”desktop”,positions:u(e)}]}));const h=e=>{e?new s(!1,[],e).start():new s(!0,p).start(),o()},m=()=>{l(h)}},function(e,t,n){“use strict”;n.r(t);var i=n(0);n(2);Object(i.a)()},function(e,t,n){}]);
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,”a”,n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p=”/”,t(t.s=”pwNi”)}({“/9Yu”:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=n(“eW0v”),i=r(o),a=n(“5D9O”),u=r(a),s=n(“ZYOr”),c=n(“oWE+”),l=n(“nLIX”),f=r(l),d=n(“9HcH”),p=r(d),h=n(“Q1RC”),v=r(h),y=n(“oHVd”),m=r(y),g=n(“f9rN”),b=r(g),_=n(“9uY0”),w=r(_),E=n(“AW9G”),S=r(E),O=function(e){var t=e.data,n=e.config,r=t.url,o=t.media;if(o===s.TWITTER){var a=t.draftContent.blocks[0].text,u=new S.default(n.twitter);return i.default.createElement(m.default,{url:r,text:a,twitter:u})}if(o===s.INSTAGRAM){var c=t.embedData.title,l=new w.default(n.instagram);return i.default.createElement(v.default,{url:r,caption:c,instagram:l})}if(o===s.FACEBOOK){var d=t.embedData,h=d.width,y=d.url,g=new b.default(n.facebook);return i.default.createElement(p.default,{embedUrl:y,embedWidth:h,facebook:g})}return f.default.warn(“unkwnown media type: “+o,”BackstageEmbedSocial”),null};O.propTypes={data:u.default.shape({media:u.default.string.isRequired,url:u.default.string.isRequired}).isRequired,config:c.configShape.isRequired},t.default=O},”/oWq”:function(e,t,n){(function(e,r){var o;!function(){function i(e){throw new RangeError(P[e])}function a(e,t){for(var n=e.length,r=[];n–;)r[n]=t(e[n]);return r}function u(e,t){var n=e.split(“@”),r=””;return n.length>1&&(r=n[0]+”@”,e=n[1]),e=e.replace(I,”.”),r+a(e.split(“.”),t).join(“.”)}function s(e){for(var t,n,r=[],o=0,i=e.length;o=55296&&t<=56319&&o<i?(n=e.charCodeAt(o++),56320==(64512&n)?r.push(((1023&t)<65535&&(e-=65536,t+=N(e>>>10&1023|55296),e=56320|1023&e),t+=N(e)}).join(“”)}function l(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:_}function f(e,t){return e+22+75*(e<26)-((0!=t)<>1,e+=x(e/t);e>j*E>>1;r+=_)e=x(e/j);return x(r+(j+1)*e/(e+S))}function p(e){var t,n,r,o,a,u,s,f,p,h,v=[],y=e.length,m=0,g=C,S=k;for(n=e.lastIndexOf(T),n<0&&(n=0),r=0;r=128&&i(“not-basic”),v.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=y&&i(“invalid-input”),f=l(e.charCodeAt(o++)),(f>=_||f>x((b-m)/u))&&i(“overflow”),m+=f*u,p=s=S+E?E:s-S,!(f
x(b/h)&&i(“overflow”),u*=h;t=v.length+1,S=d(m-a,t,0==a),x(m/t)>b-g&&i(“overflow”),g+=x(m/t),m%=t,v.splice(m++,0,g)}return c(v)}function h(e){var t,n,r,o,a,u,c,l,p,h,v,y,m,g,S,O=[];for(e=s(e),y=e.length,t=C,n=0,a=k,u=0;u<y;++u)(v=e[u])<128&&O.push(N(v));for(r=o=O.length,o&&O.push(T);r<y;){for(c=b,u=0;u=t&&vx((b-n)/m)&&i(“overflow”),n+=(c-t)*m,t=c,u=0;u<y;++u)if(v=e[u],vb&&i(“overflow”),v==t){for(l=n,p=_;h=p=a+E?E:p-a,!(l= 0x80 (not a basic code point)”,”invalid-input”:”Invalid input”},j=_-w,x=Math.floor,N=String.fromCharCode;g={version:”1.4.1″,ucs2:{decode:s,encode:c},decode:p,encode:h,toASCII:y,toUnicode:v},void 0!==(o=function(){return g}.call(t,n,t,e))&&(e.exports=o)}()}).call(t,n(“l262”)(e),n(“h6ac”))},”/ylI”:function(e,t,n){!function(t,r){var o;e.exports=r(n(“K2GL”),n(“yh9p”))}(window,function(e,t){function n(){a||(a=!0,console.warn(“[KEYCLOAK] Usage of legacy style promise methods such as `.error()` and `.success()` has been deprecated and support will be removed in future versions. Use standard style promise methods such as `.then() and `.catch()` instead.”))}function r(e){return e.__proto__=o.prototype,e}function o(e){return r(new Promise(e))}function i(n){function r(e){var t=null,n=window.crypto||window.msCrypto;if(n&&n.getRandomValues&&window.Uint8Array)return t=new Uint8Array(e),n.getRandomValues(t),t;t=new Array(e);for(var r=0;r<t.length;r++)t[r]=Math.floor(256*Math.random());return t}function a(e){return u(e,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")}function u(e,t){for(var n=r(e),o=new Array(e),i=0;i<e;i++)o[i]=t.charCodeAt(n[i]%t.length);return String.fromCharCode.apply(null,o)}function s(n,r){switch(n){case"S256":var o=new Uint8Array(e.arrayBuffer(r));return t.fromByteArray(o).replace(/+/g,"-").replace(///g,"_").replace(/=/g,"");default:throw"Invalid value for pkceMethod"}}function c(){return void 0!==R.authServerUrl?"/"==R.authServerUrl.charAt(R.authServerUrl.length-1)?R.authServerUrl+"realms/"+encodeURIComponent(R.realm):R.authServerUrl+"/realms/"+encodeURIComponent(R.realm):void 0}function l(){return window.location.origin?window.location.origin:window.location.protocol+"//"+window.location.hostname+(window.location.port?":"+window.location.port:"")}function f(e,t){function n(n,r,o,i){a=(a+(new Date).getTime())/2,h(n,r,o,a),N&&(R.tokenParsed&&R.tokenParsed.nonce!=e.storedNonce||R.refreshTokenParsed&&R.refreshTokenParsed.nonce!=e.storedNonce||R.idTokenParsed&&R.idTokenParsed.nonce!=e.storedNonce)?(M("[KEYCLOAK] Invalid nonce, clearing token"),R.clearToken(),t&&t.setError()):i&&(R.onAuthSuccess&&R.onAuthSuccess(),t&&t.setSuccess())}var r=e.code,o=e.error,i=e.prompt,a=(new Date).getTime();if(o)if("none"!=i){var u={error:o,error_description:e.error_description};R.onAuthError&&R.onAuthError(u),t&&t.setError(u)}else t&&t.setSuccess();else if("standard"!=R.flow&&(e.access_token||e.id_token)&&n(e.access_token,null,e.id_token,!0),"implicit"!=R.flow&&r){var s="code="+r+"&grant_type=authorization_code",c=R.endpoints.token(),l=new XMLHttpRequest;l.open("POST",c,!0),l.setRequestHeader("Content-type","application/x-www-form-urlencoded"),s+="&client_id="+encodeURIComponent(R.clientId),s+="&redirect_uri="+e.redirectUri,e.pkceCodeVerifier&&(s+="&code_verifier="+e.pkceCodeVerifier),l.withCredentials=!0,l.onreadystatechange=function(){if(4==l.readyState)if(200==l.status){var e=JSON.parse(l.responseText);n(e.access_token,e.refresh_token,e.id_token,"standard"===R.flow),E()}else R.onAuthError&&R.onAuthError(),t&&t.setError()},l.send(s)}}function d(){function e(e){R.endpoints=e?{authorize:function(){return e.authorization_endpoint},token:function(){return e.token_endpoint},logout:function(){if(!e.end_session_endpoint)throw"Not supported by the OIDC server";return e.end_session_endpoint},checkSessionIframe:function(){if(!e.check_session_iframe)throw"Not supported by the OIDC server";return e.check_session_iframe},register:function(){throw'Redirection to "Register user" page not supported in standard OIDC mode'},userinfo:function(){if(!e.userinfo_endpoint)throw"Not supported by the OIDC server";return e.userinfo_endpoint}}:{authorize:function(){return c()+"/protocol/openid-connect/auth"},token:function(){return c()+"/protocol/openid-connect/token"},logout:function(){return c()+"/protocol/openid-connect/logout"},checkSessionIframe:function(){var e=c()+"/protocol/openid-connect/login-status-iframe.html";return R.iframeVersion&&(e=e+"?version="+R.iframeVersion),e},register:function(){return c()+"/protocol/openid-connect/registrations"},userinfo:function(){return c()+"/protocol/openid-connect/userinfo"}}}var t,r=_();if(n?"string"==typeof n&&(t=n):t="keycloak.json",t){var o=new XMLHttpRequest;o.open("GET",t,!0),o.setRequestHeader("Accept","application/json"),o.onreadystatechange=function(){if(4==o.readyState)if(200==o.status||p(o)){var t=JSON.parse(o.responseText);R.authServerUrl=t["auth-server-url"],R.realm=t.realm,R.clientId=t.resource,e(null),r.setSuccess()}else r.setError()},o.send()}else{if(!n.clientId)throw"clientId missing";R.clientId=n.clientId;var i=n.oidcProvider;if(i)if("string"==typeof i){var a;a="/"==i.charAt(i.length-1)?i+".well-known/openid-configuration":i+"/.well-known/openid-configuration";var o=new XMLHttpRequest;o.open("GET",a,!0),o.setRequestHeader("Accept","application/json"),o.onreadystatechange=function(){if(4==o.readyState)if(200==o.status||p(o)){var t=JSON.parse(o.responseText);e(t),r.setSuccess()}else r.setError()},o.send()}else e(i),r.setSuccess();else{if(!n.url)for(var u=document.getElementsByTagName("script"),s=0;s<u.length;s++)if(u[s].src.match(/.*keycloak.js/)){n.url=u[s].src.substr(0,u[s].src.indexOf("/js/keycloak.js"));break}if(!n.realm)throw"realm missing";R.authServerUrl=n.url,R.realm=n.realm,e(null),r.setSuccess()}}return r.promise}function p(e){return 0==e.status&&e.responseText&&e.responseURL.startsWith("file:")}function h(e,t,n,r){if(R.tokenTimeoutHandle&&(clearTimeout(R.tokenTimeoutHandle),R.tokenTimeoutHandle=null),t?(R.refreshToken=t,R.refreshTokenParsed=v(t)):(delete R.refreshToken,delete R.refreshTokenParsed),n?(R.idToken=n,R.idTokenParsed=v(n)):(delete R.idToken,delete R.idTokenParsed),e){if(R.token=e,R.tokenParsed=v(e),R.sessionId=R.tokenParsed.session_state,R.authenticated=!0,R.subject=R.tokenParsed.sub,R.realmAccess=R.tokenParsed.realm_access,R.resourceAccess=R.tokenParsed.resource_access,r&&(R.timeSkew=Math.floor(r/1e3)-R.tokenParsed.iat),null!=R.timeSkew&&(M("[KEYCLOAK] Estimated time difference between browser and server is "+R.timeSkew+" seconds"),R.onTokenExpired)){var o=1e3*(R.tokenParsed.exp-(new Date).getTime()/1e3+R.timeSkew);M("[KEYCLOAK] Token expires in "+Math.round(o/1e3)+" s"),o<=0?R.onTokenExpired():R.tokenTimeoutHandle=setTimeout(R.onTokenExpired,o)}}else delete R.token,delete R.tokenParsed,delete R.subject,delete R.realmAccess,delete R.resourceAccess,R.authenticated=!1}function v(e){switch(e=e.split(".")[1],e=e.replace("/-/g","+"),e=e.replace("/_/g","/"),e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Invalid token"}return e=(e+"===").slice(0,e.length+e.length%4),e=e.replace(/-/g,"+").replace(/_/g,"/"),e=decodeURIComponent(escape(atob(e))),e=JSON.parse(e)}function y(){var e="0123456789abcdef",t=u(36,e).split("");return t[14]="4",t[19]=e.substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="-",t.join("")}function m(e){var t=g(e);if(t){var n=A.get(t.state);return n&&(t.valid=!0,t.redirectUri=n.redirectUri,t.storedNonce=n.nonce,t.prompt=n.prompt,t.pkceCodeVerifier=n.pkceCodeVerifier),t}}function g(e){var t;switch(R.flow){case"standard":t=["code","state","session_state"];break;case"implicit":t=["access_token","token_type","id_token","state","session_state","expires_in"];break;case"hybrid":t=["access_token","id_token","code","state","session_state"]}t.push("error"),t.push("error_description"),t.push("error_uri");var n,r,o=e.indexOf("?"),i=e.indexOf("#");if("query"===R.responseMode&&-1!==o?(n=e.substring(0,o),r=b(e.substring(o+1,-1!==i?i:e.length),t),""!==r.paramsString&&(n+="?"+r.paramsString),-1!==i&&(n+=e.substring(i))):"fragment"===R.responseMode&&-1!==i&&(n=e.substring(0,i),r=b(e.substring(i+1),t),""!==r.paramsString&&(n+="#"+r.paramsString)),r&&r.oauthParams)if("standard"===R.flow||"hybrid"===R.flow){if((r.oauthParams.code||r.oauthParams.error)&&r.oauthParams.state)return r.oauthParams.newUrl=n,r.oauthParams}else if("implicit"===R.flow&&(r.oauthParams.access_token||r.oauthParams.error)&&r.oauthParams.state)return r.oauthParams.newUrl=n,r.oauthParams}function b(e,t){for(var n=e.split("&"),r={paramsString:"",oauthParams:{}},o=0;o=0;–n){var r=t[n];”error”==e.data?r.setError():r.setSuccess(“unchanged”==e.data)}}};return window.addEventListener(“message”,n,!1),e.promise}function E(){P.enable&&R.token&&setTimeout(function(){S().then(function(e){e&&E()})},1e3*P.interval)}function S(){var e=_();if(P.iframe&&P.iframeOrigin){var t=R.clientId+” “+(R.sessionId?R.sessionId:””);P.callbackList.push(e);var n=P.iframeOrigin;1==P.callbackList.length&&P.iframe.contentWindow.postMessage(t,n)}else e.setSuccess();return e.promise}function O(e){if(!e||”default”==e)return{login:function(e){return window.location.replace(R.createLoginUrl(e)),_().promise},logout:function(e){return window.location.replace(R.createLogoutUrl(e)),_().promise},register:function(e){return window.location.replace(R.createRegisterUrl(e)),_().promise},accountManagement:function(){var e=R.createAccountUrl();if(void 0===e)throw”Not supported by the OIDC server”;return window.location.href=e,_().promise},redirectUri:function(e){return 1==arguments.length&&!0,e&&e.redirectUri?e.redirectUri:R.redirectUri?R.redirectUri:location.href}};if(“cordova”==e){P.enable=!1;var t=function(e,t,n){return window.cordova&&window.cordova.InAppBrowser?window.cordova.InAppBrowser.open(e,t,n):window.open(e,t,n)},n=function(e){return e&&e.cordovaOptions?Object.keys(e.cordovaOptions).reduce(function(t,n){return t[n]=e.cordovaOptions[n],t},{}):{}},r=function(e){return Object.keys(e).reduce(function(t,n){return t.push(n+”=”+e[n]),t},[]).join(“,”)},o=function(e){var t=n(e);return t.location=”no”,e&&”none”==e.prompt&&(t.hidden=”yes”),r(t)};return{login:function(e){var n=_(),r=o(e),i=R.createLoginUrl(e),a=t(i,”_blank”,r),u=!1,s=!1,c=function(){s=!0,a.close()};return a.addEventListener(“loadstart”,function(e){if(0==e.url.indexOf(“http://localhost”)){f(m(e.url),n),c(),u=!0}}),a.addEventListener(“loaderror”,function(e){if(!u)if(0==e.url.indexOf(“http://localhost”)){var t=m(e.url);f(t,n),c(),u=!0}else n.setError(),c()}),a.addEventListener(“exit”,function(){s||n.setError({reason:”closed_by_user”})}),n.promise},logout:function(e){var n,r=_(),o=R.createLogoutUrl(e),i=t(o,”_blank”,”location=no,hidden=yes”);return i.addEventListener(“loadstart”,function(e){0==e.url.indexOf(“http://localhost”)&&i.close()}),i.addEventListener(“loaderror”,function(e){0==e.url.indexOf(“http://localhost”)?i.close():(n=!0,i.close())}),i.addEventListener(“exit”,function(){n?r.setError():(R.clearToken(),r.setSuccess())}),r.promise},register:function(e){var n=_(),r=R.createRegisterUrl(),i=o(e),a=t(r,”_blank”,i);return a.addEventListener(“loadstart”,function(e){if(0==e.url.indexOf(“http://localhost”)){a.close();f(m(e.url),n)}}),n.promise},accountManagement:function(){var e=R.createAccountUrl();if(void 0===e)throw”Not supported by the OIDC server”;var n=t(e,”_blank”,”location=no”);n.addEventListener(“loadstart”,function(e){0==e.url.indexOf(“http://localhost”)&&n.close()})},redirectUri:function(){return”http://localhost”}}}if(“cordova-native”==e)return P.enable=!1,{login:function(e){var t=_(),n=R.createLoginUrl(e);return universalLinks.subscribe(“keycloak”,function(e){universalLinks.unsubscribe(“keycloak”),window.cordova.plugins.browsertab.close(),f(m(e.url),t)}),window.cordova.plugins.browsertab.openUrl(n),t.promise},logout:function(e){var t=_(),n=R.createLogoutUrl(e);return universalLinks.subscribe(“keycloak”,function(){universalLinks.unsubscribe(“keycloak”),window.cordova.plugins.browsertab.close(),R.clearToken(),t.setSuccess()}),window.cordova.plugins.browsertab.openUrl(n),t.promise},register:function(e){var t=_(),n=R.createRegisterUrl(e);return universalLinks.subscribe(“keycloak”,function(e){universalLinks.unsubscribe(“keycloak”),window.cordova.plugins.browsertab.close(),f(m(e.url),t)}),window.cordova.plugins.browsertab.openUrl(n),t.promise},accountManagement:function(){var e=R.createAccountUrl();if(void 0===e)throw”Not supported by the OIDC server”;window.cordova.plugins.browsertab.openUrl(e)},redirectUri:function(e){return e&&e.redirectUri?e.redirectUri:R.redirectUri?R.redirectUri:”http://localhost”}};throw”invalid adapter type: “+e}function k(){try{return new L}catch(e){}return new H}function C(e){return function(){R.enableLogging&&e.apply(console,Array.prototype.slice.call(arguments))}}if(!(this instanceof i))return new i(n);for(var T,A,R=this,I=[],P={enable:!0,callbackList:[],interval:5},j=document.getElementsByTagName(“script”),x=0;x-1?O(e.adapter):e&&”object”==typeof e.adapter?e.adapter:window.Cordova||window.cordova?O(“cordova”):O(),e){if(void 0!==e.useNonce&&(N=e.useNonce),void 0!==e.checkLoginIframe&&(P.enable=e.checkLoginIframe),e.checkLoginIframeInterval&&(P.interval=e.checkLoginIframeInterval),”login-required”===e.onLoad&&(R.loginRequired=!0),e.responseMode){if(“query”!==e.responseMode&&”fragment”!==e.responseMode)throw”Invalid value for responseMode”;R.responseMode=e.responseMode}if(e.flow){switch(e.flow){case”standard”:R.responseType=”code”;break;case”implicit”:R.responseType=”id_token token”;break;case”hybrid”:R.responseType=”code id_token token”;break;default:throw”Invalid value for flow”}R.flow=e.flow}if(null!=e.timeSkew&&(R.timeSkew=e.timeSkew),e.redirectUri&&(R.redirectUri=e.redirectUri),e.silentCheckSsoRedirectUri&&(R.silentCheckSsoRedirectUri=e.silentCheckSsoRedirectUri),e.pkceMethod){if(“S256″!==e.pkceMethod)throw”Invalid value for pkceMethod”;R.pkceMethod=e.pkceMethod}R.enableLogging=”boolean”==typeof e.enableLogging&&e.enableLogging}R.responseMode||(R.responseMode=”fragment”),R.responseType||(R.responseType=”code”,R.flow=”standard”);var o=_(),i=_();i.promise.then(function(){R.onReady&&R.onReady(R.authenticated),o.setSuccess(R.authenticated)}).catch(function(e){o.setError(e)});var a=d();return a.then(n),a.catch(function(){o.setError()}),o.promise},R.login=function(e){return T.login(e)},R.createLoginUrl=function(e){var t=y(),n=y(),r=T.redirectUri(e),o={state:t,nonce:n,redirectUri:encodeURIComponent(r)};e&&e.prompt&&(o.prompt=e.prompt);var i;i=e&&”register”==e.action?R.endpoints.register():R.endpoints.authorize();var u;u=e&&e.scope?-1!=e.scope.indexOf(“openid”)?e.scope:”openid “+e.scope:”openid”;var c=i+”?client_id=”+encodeURIComponent(R.clientId)+”&redirect_uri=”+encodeURIComponent(r)+”&state=”+encodeURIComponent(t)+”&response_mode=”+encodeURIComponent(R.responseMode)+”&response_type=”+encodeURIComponent(R.responseType)+”&scope=”+encodeURIComponent(u);if(N&&(c=c+”&nonce=”+encodeURIComponent(n)),e&&e.prompt&&(c+=”&prompt=”+encodeURIComponent(e.prompt)),e&&e.maxAge&&(c+=”&max_age=”+encodeURIComponent(e.maxAge)),e&&e.loginHint&&(c+=”&login_hint=”+encodeURIComponent(e.loginHint)),e&&e.idpHint&&(c+=”&kc_idp_hint=”+encodeURIComponent(e.idpHint)),e&&e.locale&&(c+=”&ui_locales=”+encodeURIComponent(e.locale)),R.pkceMethod){var l=a(96);o.pkceCodeVerifier=l;c+=”&code_challenge=”+s(R.pkceMethod,l),c+=”&code_challenge_method=”+R.pkceMethod}return A.add(o),c},R.logout=function(e){return T.logout(e)},R.createLogoutUrl=function(e){return R.endpoints.logout()+”?redirect_uri=”+encodeURIComponent(T.redirectUri(e,!1))},R.register=function(e){return T.register(e)},R.createRegisterUrl=function(e){return e||(e={}),e.action=”register”,R.createLoginUrl(e)},R.createAccountUrl=function(e){var t=c(),n=void 0;return void 0!==t&&(n=t+”/account?referrer=”+encodeURIComponent(R.clientId)+”&referrer_uri=”+encodeURIComponent(T.redirectUri(e))),n},R.accountManagement=function(){return T.accountManagement()},R.hasRealmRole=function(e){var t=R.realmAccess;return!!t&&t.roles.indexOf(e)>=0},R.hasResourceRole=function(e,t){if(!R.resourceAccess)return!1;var n=R.resourceAccess[t||R.clientId];return!!n&&n.roles.indexOf(e)>=0},R.loadUserProfile=function(){var e=c()+”/account”,t=new XMLHttpRequest;t.open(“GET”,e,!0),t.setRequestHeader(“Accept”,”application/json”),t.setRequestHeader(“Authorization”,”bearer “+R.token);var n=_();return t.onreadystatechange=function(){4==t.readyState&&(200==t.status?(R.profile=JSON.parse(t.responseText),n.setSuccess(R.profile)):n.setError())},t.send(),n.promise},R.loadUserInfo=function(){var e=R.endpoints.userinfo(),t=new XMLHttpRequest;t.open(“GET”,e,!0),t.setRequestHeader(“Accept”,”application/json”),t.setRequestHeader(“Authorization”,”bearer “+R.token);var n=_();return t.onreadystatechange=function(){4==t.readyState&&(200==t.status?(R.userInfo=JSON.parse(t.responseText),n.setSuccess(R.userInfo)):n.setError())},t.send(),n.promise},R.isTokenExpired=function(e){if(!R.tokenParsed||!R.refreshToken&&”implicit”!=R.flow)throw”Not authenticated”;if(null==R.timeSkew)return M(“[KEYCLOAK] Unable to determine if token is expired as timeskew is not set”),!0;var t=R.tokenParsed.exp-Math.ceil((new Date).getTime()/1e3)+R.timeSkew;if(e){if(isNaN(e))throw”Invalid minValidity”;t-=e}return t<0},R.updateToken=function(e){var t=_();if(!R.refreshToken)return t.setError(),t.promise;e=e||5;var n=function(){var n=!1;if(-1==e?(n=!0,M("[KEYCLOAK] Refreshing token: forced refresh")):R.tokenParsed&&!R.isTokenExpired(e)||(n=!0,M("[KEYCLOAK] Refreshing token: token expired")),n){var r="grant_type=refresh_token&refresh_token="+R.refreshToken,o=R.endpoints.token();if(I.push(t),1==I.length){var i=new XMLHttpRequest;i.open("POST",o,!0),i.setRequestHeader("Content-type","application/x-www-form-urlencoded"),i.withCredentials=!0,r+="&client_id="+encodeURIComponent(R.clientId);var a=(new Date).getTime();i.onreadystatechange=function(){if(4==i.readyState)if(200==i.status){M("[KEYCLOAK] Token refreshed"),a=(a+(new Date).getTime())/2;var e=JSON.parse(i.responseText);h(e.access_token,e.refresh_token,e.id_token,a),R.onAuthRefreshSuccess&&R.onAuthRefreshSuccess();for(var t=I.pop();null!=t;t=I.pop())t.setSuccess(!0)}else{D("[KEYCLOAK] Failed to refresh token"),400==i.status&&R.clearToken(),R.onAuthRefreshError&&R.onAuthRefreshError();for(var t=I.pop();null!=t;t=I.pop())t.setError(!0)}},i.send(r)}}else t.setSuccess(!1)};if(P.enable){S().then(function(){n()}).catch(function(){t.setError()})}else n();return t.promise},R.clearToken=function(){R.token&&(h(null,null,null),R.onAuthLogout&&R.onAuthLogout(),R.loginRequired&&R.login())};var L=function e(){function t(){for(var e=(new Date).getTime(),t=0;t<localStorage.length;t++){var n=localStorage.key(t);if(n&&0==n.indexOf("kc-callback-")){var r=localStorage.getItem(n);if(r)try{var o=JSON.parse(r).expires;(!o||o<e)&&localStorage.removeItem(n)}catch(e){localStorage.removeItem(n)}}}}if(!(this instanceof e))return new e;localStorage.setItem("kc-test","test"),localStorage.removeItem("kc-test");var n=this;n.get=function(e){if(e){var n="kc-callback-"+e,r=localStorage.getItem(n);return r&&(localStorage.removeItem(n),r=JSON.parse(r)),t(),r}},n.add=function(e){t();var n="kc-callback-"+e.state;e.expires=(new Date).getTime()+36e5,localStorage.setItem(n,JSON.stringify(e))}},H=function e(){if(!(this instanceof e))return new e;var t=this;t.get=function(e){if(e){var t=r("kc-callback-"+e);return o("kc-callback-"+e,"",n(-100)),t?JSON.parse(t):void 0}},t.add=function(e){o("kc-callback-"+e.state,JSON.stringify(e),n(60))},t.removeItem=function(e){o(e,"",n(-100))};var n=function(e){var t=new Date;return t.setTime(t.getTime()+60*e*1e3),t},r=function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var o=n[r];" "==o.charAt(0);)o=o.substring(1);if(0==o.indexOf(t))return o.substring(t.length,o.length)}return""},o=function(e,t,n){var r=e+"="+t+"; expires="+n.toUTCString()+"; ";document.cookie=r}}}if("undefined"==typeof Promise)throw Error("Keycloak requires an environment that supports Promises. Make sure that you include the appropriate polyfill.");var a=!1;return o.prototype=Object.create(Promise.prototype),o.prototype.constructor=o,o.prototype.success=function(e){return n(),r(this.then(function(t){e(t)}))},o.prototype.error=function(e){return n(),r(this.catch(function(t){e(t)}))},i})},"06Dm":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=document.head;if(!t.querySelector("script[src=""+e+""]")){var n=document.createElement("script");n.src=e,t.appendChild(n)}}},"2BZT":function(e,t,n){"use strict";function r(e){this.message=e}var o=n("oCjY");r.prototype=new Error,r.prototype.name="InvalidTokenError",e.exports=function(e,t){if("string"!=typeof e)throw new r("Invalid token specified");t=t||{};var n=!0===t.header?0:1;try{return JSON.parse(o(e.split(".")[n]))}catch(e){throw new r("Invalid token specified: "+e.message)}},e.exports.InvalidTokenError=r},"3H7N":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={joinOutput:!1,cleanup:{after:["atomic"],types:["unstyled"],trim:!1,split:!0},blockFallback:"unstyled"}},"45fX":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n("yd8v"),a=r(i),u=n("kD/w"),s=r(u),c=n("cX2q"),l=r(c),f={},d=void 0;t.default={unmount:function(){f={}},register:function(e,t){f[e]=t},unregister:function(e){delete f[e]},get:function(e){return f[e]||document.getElementById(e)||document.getElementsByName(e)[0]||document.getElementsByClassName(e)[0]},setActiveLink:function(e){return d=e},getActiveLink:function(){return d},scrollTo:function(e,t){var n=this.get(e);if(!n)return void console.warn("target Element not found");t=o({},t,{absolute:!1});var r=t.containerId,i=t.container,u=void 0;u=r?document.getElementById(r):i&&i.nodeType?i:document,t.absolute=!0;var c=t.horizontal,f=a.default.scrollOffset(u,n,c)+(t.offset||0);if(!t.smooth)return l.default.registered.begin&&l.default.registered.begin(e,n),u===document?t.horizontal?window.scrollTo(f,0):window.scrollTo(0,f):u.scrollTop=f,void(l.default.registered.end&&l.default.registered.end(e,n));s.default.animateTopScroll(f,t,e,n)}}},"4hWR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){function r(e){return e instanceof r?e:this instanceof r?void(this._wrapped=e):new r(e)}function o(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,o){return e.call(t,n,r,o)};case 4:return function(n,r,o,i){return e.call(t,n,r,o,i)}}return function(){return e.apply(t,arguments)}}function i(e,t,n){return null==e?xe:Bt(e)?o(e,t,n):Ce(e)&&!qt(e)?He(e):De(e)}function a(e,t){return i(e,t,1/0)}function u(e,t,n){return r.iteratee!==a?r.iteratee(e,t):i(e,t,n)}function s(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),o=0;o<n;o++)r[o]=arguments[o+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var i=Array(t+1);for(o=0;o<t;o++)i[o]=arguments[o];return i[t]=r,e.apply(this,i)}}function c(e){if(!Ce(e))return{};if(ot)return ot(e);ut.prototype=e;var t=new ut;return ut.prototype=null,t}function l(e){return function(t){return null==t?void 0:t[e]}}function f(e,t){return null!=e&&tt.call(e,t)}function d(e,t){for(var n=t.length,r=0;r=0&&t<=ct}function h(e,t,n){t=o(t,n);var r,i;if(p(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var a=ae(e);for(r=0,i=a.length;r<i;r++)t(e[a[r]],a[r],e)}return e}function v(e,t,n){t=u(t,n);for(var r=!p(e)&&ae(e),o=(r||e).length,i=Array(o),a=0;a0?0:a-1;for(o||(r=t[i?i[u]:u],u+=e);u>=0&&u=3;return t(e,o(n,i,4),r,a)}}function m(e,t,n){var r=p(e)?St:he,o=r(e,t,n);if(void 0!==o&&-1!==o)return e[o]}function g(e,t,n){var r=[];return t=u(t,n),h(e,function(e,n,o){t(e,n,o)&&r.push(e)}),r}function b(e,t,n){return g(e,te(u(t)),n)}function _(e,t,n){t=u(t,n);for(var r=!p(e)&&ae(e),o=(r||e).length,i=0;i<o;i++){var a=r?r[i]:i;if(!t(e[a],a,e))return!1}return!0}function w(e,t,n){t=u(t,n);for(var r=!p(e)&&ae(e),o=(r||e).length,i=0;i=0}function S(e,t){return v(e,De(t))}function O(e,t){return g(e,He(t))}function k(e,t){return m(e,He(t))}function C(e,t,n){var r,o,i=-1/0,a=-1/0;if(null==t||”number”==typeof t&&”object”!=typeof e[0]&&null!=e){e=p(e)?e:se(e);for(var s=0,c=e.length;si&&(i=r)}else t=u(t,n),h(e,function(e,n,r){((o=t(e,n,r))>a||o===-1/0&&i===-1/0)&&(i=e,a=o)});return i}function T(e,t,n){var r,o,i=1/0,a=1/0;if(null==t||”number”==typeof t&&”object”!=typeof e[0]&&null!=e){e=p(e)?e:se(e);for(var s=0,c=e.length;s<c;s++)null!=(r=e[s])&&r<i&&(i=r)}else t=u(t,n),h(e,function(e,n,r){((o=t(e,n,r))<a||o===1/0&&i===1/0)&&(i=e,a=o)});return i}function A(e){return R(e,1/0)}function R(e,t,n){if(null==t||n)return p(e)||(e=se(e)),e[qe(e.length-1)];var r=p(e)?me(e):se(e),o=lt(r);t=Math.max(Math.min(t,o),0);for(var i=o-1,a=0;ar||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index}),"value")}function P(e,t){return function(n,r,o){var i=t?[[],[]]:{};return r=u(r,o),h(n,function(t,o){var a=r(t,o,n);e(i,t,a)}),i}}function j(e){return e?qt(e)?$e.call(e):Wt(e)?e.match(mt):p(e)?v(e,xe):se(e):[]}function x(e){return null==e?0:p(e)?e.length:ae(e).length}function N(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[0]:M(e,e.length-t)}function M(e,t,n){return $e.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function D(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[e.length-1]:L(e,Math.max(0,e.length-t))}function L(e,t,n){return $e.call(e,null==t||n?1:t)}function H(e){return g(e,Boolean)}function U(e,t,n,r){r=r||[];for(var o=r.length,i=0,a=lt(e);i<a;i++){var u=e[i];if(p(u)&&(qt(u)||zt(u)))if(t)for(var s=0,c=u.length;s<c;)r[o++]=u[s++];else U(u,t,n,r),o=r.length;else n||(r[o++]=u)}return r}function q(e,t){return U(e,t,!1)}function z(e,t,n,r){Re(t)||(r=n,n=t,t=!1),null!=n&&(n=u(n,r));for(var o=[],i=[],a=0,s=lt(e);a<s;a++){var c=e[a],l=n?n(c,a,e):c;t&&!n?(a&&i===l||o.push(c),i=l):n?E(i,l)||(i.push(l),o.push(c)):E(o,c)||o.push(c)}return o}function B(e){for(var t=[],n=arguments.length,r=0,o=lt(e);r<o;r++){var i=e[r];if(!E(t,i)){var a;for(a=1;a<n&&E(arguments[a],i);a++);a===n&&t.push(i)}}return t}function W(e){for(var t=e&&C(e,lt).length||0,n=Array(t),r=0;r<t;r++)n[r]=S(e,r);return n}function F(e,t){for(var n={},r=0,o=lt(e);r0?0:o-1;i>=0&&i<o;i+=e)if(n(t[i],i,t))return i;return-1}}function K(e,t,n,r){n=u(n,r,1);for(var o=n(t),i=0,a=lt(e);i<a;){var s=Math.floor((i+a)/2);n(e[s])0?a=i>=0?i:Math.max(i+u,a):u=i>=0?Math.min(i+1,u):i+u+1;else if(n&&i&&u)return i=n(r,o),r[i]===o?i:-1;if(o!==o)return i=t($e.call(r,a,u),Ae),i>=0?i+a:-1;for(i=e>0?a:u-1;i>=0&&i<u;i+=e)if(r[i]===o)return i;return-1}}function X(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),o=Array(r),i=0;i<r;i++,e+=n)o[i]=e;return o}function Q(e,t){if(null==t||t<1)return[];for(var n=[],r=0,o=e.length;r<o;)n.push($e.call(e,r,r+=t));return n}function Y(e,t,n,r,o){if(!(r instanceof t))return e.apply(n,o);var i=c(e.prototype),a=e.apply(i,o);return Ce(a)?a:i}function J(e,t){var n=function n(r){var o=n.cache,i=""+(t?t.apply(this,arguments):r);return f(o,i)||(o[i]=e.apply(this,arguments)),o[i]};return n.cache={},n}function Z(e,t,n){var r,o,i,a,u=0;n||(n={});var s=function(){u=!1===n.leading?0:en(),r=null,a=e.apply(o,i),r||(o=i=null)},c=function(){var c=en();u||!1!==n.leading||(u=c);var l=t-(c-u);return o=this,i=arguments,lt?(r&&(clearTimeout(r),r=null),u=c,a=e.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(s,l)),a};return c.cancel=function(){clearTimeout(r),u=0,r=o=i=null},c}function $(e,t,n){var r,o,i=function(t,n){r=null,n&&(o=e.apply(t,n))},a=s(function(a){if(r&&clearTimeout(r),n){var u=!r;r=setTimeout(i,t),u&&(o=e.apply(this,a))}else r=It(i,t,this,a);return o});return a.cancel=function(){clearTimeout(r),r=null},a}function ee(e,t){return At(t,e)}function te(e){return function(){return!e.apply(this,arguments)}}function ne(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n–;)r=e[n].call(this,r);return r}}function re(e,t){return function(){if(–e0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}function ie(e,t){var n=Nt.length,r=e.constructor,o=Bt(r)&&r.prototype||Ye,i="constructor";for(f(e,i)&&!E(t,i)&&t.push(i);n–;)(i=Nt[n])in e&&e[i]!==o[i]&&!E(t,i)&&t.push(i)}function ae(e){if(!Ce(e))return[];if(rt)return rt(e);var t=[];for(var n in e)f(e,n)&&t.push(n);return xt&&ie(e,t),t}function ue(e){if(!Ce(e))return[];var t=[];for(var n in e)t.push(n);return xt&&ie(e,t),t}function se(e){for(var t=ae(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=e[t[o]];return r}function ce(e,t,n){t=u(t,n);for(var r=ae(e),o=r.length,i={},a=0;a<o;a++){var s=r[a];i[s]=t(e[s],s,e)}return i}function le(e){for(var t=ae(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=[t[o],e[t[o]]];return r}function fe(e){for(var t={},n=ae(e),r=0,o=n.length;r<o;r++)t[e[n[r]]]=n[r];return t}function de(e){var t=[];for(var n in e)Bt(e[n])&&t.push(n);return t.sort()}function pe(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var o=1;o<r;o++)for(var i=arguments[o],a=e(i),u=a.length,s=0;s<u;s++){var c=a[s];t&&void 0!==n[c]||(n[c]=i[c])}return n}}function he(e,t,n){t=u(t,n);for(var r,o=ae(e),i=0,a=o.length;i<a;i++)if(r=o[i],t(e[r],r,e))return r}function ve(e,t,n){return t in n}function ye(e,t){var n=c(e);return t&&Dt(n,t),n}function me(e){return Ce(e)?qt(e)?e.slice():Mt({},e):e}function ge(e,t){return t(e),e}function be(e,t){var n=ae(t),r=n.length;if(null==e)return!r;for(var o=Object(e),i=0;i<r;i++){var a=n[i];if(t[a]!==o[a]||!(a in o))return!1}return!0}function _e(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!==e)return t!==t;var o=typeof e;return("function"===o||"object"===o||"object"==typeof t)&&we(e,t,n,r)}function we(e,t,n,o){e instanceof r&&(e=e._wrapped),t instanceof r&&(t=t._wrapped);var i=et.call(e);if(i!==et.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return Je.valueOf.call(e)===Je.valueOf.call(t)}var a="[object Array]"===i;if(!a){if("object"!=typeof e||"object"!=typeof t)return!1;var u=e.constructor,s=t.constructor;if(u!==s&&!(Bt(u)&&u instanceof u&&Bt(s)&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}n=n||[],o=o||[];for(var c=n.length;c–;)if(n[c]===e)return o[c]===t;if(n.push(e),o.push(t),a){if((c=e.length)!==t.length)return!1;for(;c–;)if(!_e(e[c],t[c],n,o))return!1}else{var l,d=ae(e);if(c=d.length,ae(t).length!==c)return!1;for(;c–;)if(l=d[c],!f(t,l)||!_e(e[l],t[l],n,o))return!1}return n.pop(),o.pop(),!0}function Ee(e,t){return _e(e,t)}function Se(e){return null==e||(p(e)&&(qt(e)||Wt(e)||zt(e))?0===e.length:0===ae(e).length)}function Oe(e){return!(!e||1!==e.nodeType)}function ke(e){return function(t){return et.call(t)==="[object "+e+"]"}}function Ce(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function Te(e){return!Xt(e)&&at(e)&&!it(parseFloat(e))}function Ae(e){return Ft(e)&&it(e)}function Re(e){return!0===e||!1===e||"[object Boolean]"===et.call(e)}function Ie(e){return null===e}function Pe(e){return void 0===e}function je(e,t){if(!qt(t))return f(e,t);for(var n=t.length,r=0;r<n;r++){var o=t[r];if(null==e||!tt.call(e,o))return!1;e=e[o]}return!!n}function xe(e){return e}function Ne(e){return function(){return e}}function Me(){}function De(e){return qt(e)?function(t){return d(t,e)}:l(e)}function Le(e){return null==e?function(){}:function(t){return qt(t)?d(e,t):e[t]}}function He(e){return e=Dt({},e),function(t){return be(t,e)}}function Ue(e,t,n){var r=Array(Math.max(0,e));t=o(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r}function qe(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}function ze(e){var t=function(t){return e[t]},n="(?:"+ae(e).join("|")+")",r=RegExp(n),o=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(o,t):e}}function Be(e,t,n){qt(t)||(t=[t]);var r=t.length;if(!r)return Bt(n)?n.call(e):n;for(var o=0;o<r;o++){var i=null==e?void 0:e[t[o]];void 0===i&&(i=n,o=r),e=Bt(i)?i.call(e):i}return e}function We(e){var t=++an+"";return e?e+t:t}function Fe(e,t,n){!t&&n&&(t=n),t=Ut({},t,r.templateSettings);var o=RegExp([(t.escape||sn).source,(t.interpolate||sn).source,(t.evaluate||sn).source].join("|")+"|$","g"),i=0,a="__p+='";e.replace(o,function(t,n,r,o,u){return a+=e.slice(i,u).replace(ln,fn),i=u+t.length,n?a+="'+n((__t=("+n+"))==null?'':_.escape(__t))+n'":r?a+="'+n((__t=("+r+"))==null?'':__t)+n'":o&&(a+="';n"+o+"n__p+='"),t}),a+="';n",t.variable||(a="with(obj||{}){n"+a+"}n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};n"+a+"return __p;n";var u;try{u=new Function(t.variable||"obj","_",a)}catch(e){throw e.source=a,e}var s=function(e){return u.call(this,e,r)};return s.source="function("+(t.variable||"obj")+"){n"+a+"}",s}function Ve(e){var t=r(e);return t._chain=!0,t}function Ke(e,t){return e._chain?r(t).chain():t}function Ge(e){return h(de(e),function(t){var n=r[t]=e[t];r.prototype[t]=function(){var e=[this._wrapped];return Ze.apply(e,arguments),Ke(this,n.apply(r,e))}}),r}t.default=r,n.d(t,"VERSION",function(){return st}),t.iteratee=a,t.restArguments=s,t.each=h,n.d(t,"forEach",function(){return h}),t.map=v,n.d(t,"collect",function(){return v}),n.d(t,"reduce",function(){return ft}),n.d(t,"foldl",function(){return ft}),n.d(t,"inject",function(){return ft}),n.d(t,"reduceRight",function(){return dt}),n.d(t,"foldr",function(){return dt}),t.find=m,n.d(t,"detect",function(){return m}),t.filter=g,n.d(t,"select",function(){return g}),t.reject=b,t.every=_,n.d(t,"all",function(){return _}),t.some=w,n.d(t,"any",function(){return w}),t.contains=E,n.d(t,"includes",function(){return E}),n.d(t,"include",function(){return E}),n.d(t,"invoke",function(){return pt}),t.pluck=S,t.where=O,t.findWhere=k,t.max=C,t.min=T,t.shuffle=A,t.sample=R,t.sortBy=I,n.d(t,"groupBy",function(){return ht}),n.d(t,"indexBy",function(){return vt}),n.d(t,"countBy",function(){return yt}),t.toArray=j,t.size=x,n.d(t,"partition",function(){return gt}),t.first=N,n.d(t,"head",function(){return N}),n.d(t,"take",function(){return N}),t.initial=M,t.last=D,t.rest=L,n.d(t,"tail",function(){return L}),n.d(t,"drop",function(){return L}),t.compact=H,t.flatten=q,n.d(t,"without",function(){return bt}),t.uniq=z,n.d(t,"unique",function(){return z}),n.d(t,"union",function(){return _t}),t.intersection=B,n.d(t,"difference",function(){return wt}),t.unzip=W,n.d(t,"zip",function(){return Et}),t.object=F,n.d(t,"findIndex",function(){return St}),n.d(t,"findLastIndex",function(){return Ot}),t.sortedIndex=K,n.d(t,"indexOf",function(){return kt}),n.d(t,"lastIndexOf",function(){return Ct}),t.range=X,t.chunk=Q,n.d(t,"bind",function(){return Tt}),n.d(t,"partial",function(){return At}),n.d(t,"bindAll",function(){return Rt}),t.memoize=J,n.d(t,"delay",function(){return It}),n.d(t,"defer",function(){return Pt}),t.throttle=Z,t.debounce=$,t.wrap=ee,t.negate=te,t.compose=ne,t.after=re,t.before=oe,n.d(t,"once",function(){return jt}),t.keys=ae,t.allKeys=ue,t.values=se,t.mapObject=ce,t.pairs=le,t.invert=fe,t.functions=de,n.d(t,"methods",function(){return de}),n.d(t,"extend",function(){return Mt}),n.d(t,"extendOwn",function(){return Dt}),n.d(t,"assign",function(){return Dt}),t.findKey=he,n.d(t,"pick",function(){return Lt}),n.d(t,"omit",function(){return Ht}),n.d(t,"defaults",function(){return Ut}),t.create=ye,t.clone=me,t.tap=ge,t.isMatch=be,t.isEqual=Ee,t.isEmpty=Se,t.isElement=Oe,n.d(t,"isArray",function(){return qt}),t.isObject=Ce,n.d(t,"isArguments",function(){return zt}),n.d(t,"isFunction",function(){return Bt}),n.d(t,"isString",function(){return Wt}),n.d(t,"isNumber",function(){return Ft}),n.d(t,"isDate",function(){return Vt}),n.d(t,"isRegExp",function(){return Kt}),n.d(t,"isError",function(){return Gt}),n.d(t,"isSymbol",function(){return Xt}),n.d(t,"isMap",function(){return Qt}),n.d(t,"isWeakMap",function(){return Yt}),n.d(t,"isSet",function(){return Jt}),n.d(t,"isWeakSet",function(){return Zt}),t.isFinite=Te,t.isNaN=Ae,t.isBoolean=Re,t.isNull=Ie,t.isUndefined=Pe,t.has=je,t.identity=xe,t.constant=Ne,t.noop=Me,t.property=De,t.propertyOf=Le,t.matcher=He,n.d(t,"matches",function(){return He}),t.times=Ue,t.random=qe,n.d(t,"now",function(){return en}),n.d(t,"escape",function(){return rn}),n.d(t,"unescape",function(){return on}),t.result=Be,t.uniqueId=We,n.d(t,"templateSettings",function(){return un}),t.template=Fe,t.chain=Ve,t.mixin=Ge;var Xe="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||Function("return this")()||{},Qe=Array.prototype,Ye=Object.prototype,Je="undefined"!=typeof Symbol?Symbol.prototype:null,Ze=Qe.push,$e=Qe.slice,et=Ye.toString,tt=Ye.hasOwnProperty,nt=Array.isArray,rt=Object.keys,ot=Object.create,it=Xe.isNaN,at=Xe.isFinite,ut=function(){},st=r.VERSION="1.10.2";r.iteratee=a;var ct=Math.pow(2,53)-1,lt=l("length"),ft=y(1),dt=y(-1),pt=s(function(e,t,n){var r,o;return Bt(t)?o=t:qt(t)&&(r=t.slice(0,-1),t=t[t.length-1]),v(e,function(e){var i=o;if(!i){if(r&&r.length&&(e=d(e,r)),null==e)return;i=e[t]}return null==i?i:i.apply(e,n)})}),ht=P(function(e,t,n){f(e,n)?e[n].push(t):e[n]=[t]}),vt=P(function(e,t,n){e[n]=t}),yt=P(function(e,t,n){f(e,n)?e[n]++:e[n]=1}),mt=/[^ud800-udfff]|[ud800-udbff][udc00-udfff]|[ud800-udfff]/g,gt=P(function(e,t,n){e[n?0:1].push(t)},!0),bt=s(function(e,t){return wt(e,t)}),_t=s(function(e){return z(U(e,!0,!0))}),wt=s(function(e,t){return t=U(t,!0,!0),g(e,function(e){return!E(t,e)})}),Et=s(W),St=V(1),Ot=V(-1),kt=G(1,St,K),Ct=G(-1,Ot),Tt=s(function(e,t,n){if(!Bt(e))throw new TypeError("Bind must be called on a function");var r=s(function(o){return Y(e,r,t,this,n.concat(o))});return r}),At=s(function(e,t){var n=At.placeholder;return function r(){for(var o=0,i=t.length,a=Array(i),u=0;u<i;u++)a[u]=t[u]===n?arguments[o++]:t[u];for(;o<arguments.length;)a.push(arguments[o++]);return Y(e,r,this,this,a)}});At.placeholder=r;var Rt=s(function(e,t){t=U(t,!1,!1);var n=t.length;if(n1&&(r=o(r,t[1])),t=ue(e)):(r=ve,t=U(t,!1,!1),e=Object(e));for(var i=0,a=t.length;i1&&(n=t[1])):(t=v(U(t,!1,!1),String),r=function(e,n){return!E(t,n)}),Lt(e,r,n)}),Ut=pe(ue,!0),qt=nt||ke(“Array”),zt=ke(“Arguments”),Bt=ke(“Function”),Wt=ke(“String”),Ft=ke(“Number”),Vt=ke(“Date”),Kt=ke(“RegExp”),Gt=ke(“Error”),Xt=ke(“Symbol”),Qt=ke(“Map”),Yt=ke(“WeakMap”),Jt=ke(“Set”),Zt=ke(“WeakSet”);!function(){zt(arguments)||(zt=function(e){return f(e,”callee”)})}();var $t=Xe.document&&Xe.document.childNodes;”function”!=typeof/./&&”object”!=typeof Int8Array&&”function”!=typeof $t&&(Bt=function(e){return”function”==typeof e||!1});var en=Date.now||function(){return(new Date).getTime()},tn={“&”:”&”,””:”>”,'”‘:”"”,”‘”:”'”,”`”:”`”},nn=fe(tn),rn=ze(tn),on=ze(nn),an=0,un=r.templateSettings={evaluate://g,interpolate://g,escape://g},sn=/(.)^/,cn={“‘”:”‘”,”\”:”\”,”r”:”r”,”n”:”n”,”u2028″:”u2028″,”u2029″:”u2029″},ln=/\|’|r|n|u2028|u2029/g,fn=function(e){return”\”+cn[e]};h([“pop”,”push”,”reverse”,”shift”,”sort”,”splice”,”unshift”],function(e){var t=Qe[e];r.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),”shift”!==e&&”splice”!==e||0!==n.length||delete n[0],Ke(this,n)}}),h([“concat”,”join”,”slice”],function(e){var t=Qe[e];r.prototype[e]=function(){return Ke(this,t.apply(this._wrapped,arguments))}}),r.prototype.value=function(){return this._wrapped},r.prototype.valueOf=r.prototype.toJSON=r.prototype.value,r.prototype.toString=function(){return String(this._wrapped)}}.call(t,n(“h6ac”))},”55G1″:function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0});var r=n(“LLNF”);t.default=function(e){return e&&e.__esModule?e:{default:e}}(r).default},”5D9O”:function(e,t,n){e.exports=n(“wVGV”)()},”6Ayv”:function(e,t){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.default=function(e,t,n){var r=t;return t[n]?r[n]+=e:r[n]=e,r}},”6BsS”:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=n(“eW0v”),i=r(o),a=n(“5D9O”),u=r(a),s=function(e){var t=e.caption;return i.default.createElement(“p”,{className:”backstage-media-description”},i.default.createElement(“i”,{className:”description-icon”},i.default.createElement(“svg”,{xmlns:”http://www.w3.org/2000/svg”,width:”14px”,height:”11px”,viewBox:”0 0 14 11″},i.default.createElement(“path”,{d:”M14,9.16666667 C14,10.175 13.19,11 12.2,11 L1.8,11 C0.81,11 0,10.175 0,9.16666667 L0,1.83333333 C0,0.825 0.81,0 1.8,0 L12.2,0 C13.19,0 14,0.825 14,1.83333333 L14,9.16666667 Z M10.6,5.5 L5.2,2.5025 L5.2,8.48833333 L10.6,5.5 L10.6,5.5 Z”,id:”Shape”}))),i.default.createElement(“span”,{className:”description-caption”},t))};s.propTypes={caption:u.default.string.isRequired},t.default=s},”6FdL”:function(e){“use strict”;var t=function(e,t){return e+t1&&void 0!==arguments[1]?arguments[1]:{},r=n.initialInterval,o=void 0===r?100:r,i=n.attemptsBeforeSlowing,a=void 0===i?20:i,u=n.timeout,s=void 0===u?6e4:u,c=Date.now(),l=0,f=o,d=void 0,p=void 0;try{p=e()}catch(t){return Promise.reject(new Error(“[waitCondition] error on condition:n “+e))}return p&&p.done?Promise.resolve(p.value):new Promise(function(n,r){d=function o(i){return setInterval(function(){try{p=e()}catch(t){return clearInterval(d),void r(new Error(“[waitCondition] error on condition:n “+e))}return p&&p.done?(clearInterval(d),void n(p.value)):t(c,s)?(clearInterval(d),void r(new Error(“[waitCondition] timeout on condition:n “+e))):l>a?(l=0,f*=2,clearInterval(d),void(d=o(f))):void(l+=1)},i)}(f)})}},”6xcZ”:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0}),t.CompositeDecorator=t.renderNode=t.RawParser=t.createBlockRenderer=t.createStylesRenderer=void 0;var o=n(“uq6Q”),i=r(o),a=n(“S8O7”),u=r(a),s=n(“Cf1I”),c=n(“9k9+”),l=r(c),f=n(“c1vC”),d=r(f);t.createStylesRenderer=u.default,t.createBlockRenderer=d.default,t.RawParser=i.default,t.renderNode=s.renderNode,t.CompositeDecorator=l.default,t.default=s.render},”7loZ”:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,”__esModule”,{value:!0});var o=n(“eW0v”),i=r(o),a=n(“5D9O”),u=r(a),s=function(e){var t=e.caption,n=e.rightsHolder;return i.default.createElement(“p”,{className:”backstage-media-description”},i.default.createElement(“i”,{className:”description-icon”},i.default.createElement(“svg”,{width:”13″,height:”12″,viewBox:”0 0 13 12″,xmlns:”http://www.w3.org/2000/svg”},i.default.createElement(“use”,{href:”#a”,transform:”translate(4.996 4.987)”}),i.default.createElement(“use”,{href:”#b”}),i.default.createElement(“defs”,null,i.default.createElement(“path”,{id:”a”,d:”M1.5 3.133c.83 0 1.502-.702 1.502-1.567S2.33 0 1.502 0C.67 0 0 .7 0 1.566c0 .865.672 1.567 1.5 1.567z”}),i.default.createElement(“path”,{id:”b”,d:”M4.496 0L3.003 1.993h-1.76C.558 1.993 0 2.58 0 3.297v7.4C0 11.412.557 12 1.244 12H11.75c.688 0 1.25-.587 1.25-1.304v-7.4c0-.717-.563-1.303-1.25-1.303H9.996L8.503 0H4.496zm1.996 9.82c-1.725 0-3.125-1.462-3.125-3.262s1.4-3.26 3.125-3.26 3.125 1.46 3.125 3.26c0 1.8-1.4 3.26-3.125 3.26z”})))),i.default.createElement(“span”,{className:”description-caption”},t+” (Foto: “+n+”)”))};s.propTypes={caption:u.default.string.isRequired,rightsHolder:u.default.string.isRequired},t.default=s},”7qbT”:function(e,t,n){“use strict”;function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!e)throw new ReferenceError(“this hasn’t been initialised – super() hasn’t been called”);return!t||”object”!=typeof t&&”function”!=typeof t?e:t}function i(e,t){if(“function”!=typeof t&&null!==t)throw new TypeError(“Super expression must either be null or a function, not “+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,”__esModule”,{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n=Math.floor(l)&&h<Math.floor(f),c=h



