   window.DucksLake=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}return 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=1)}([function(e){e.exports=JSON.parse('{"a":"2.7.0"}')},function(e,t,n){"use strict";n.r(t),n.d(t,"version",function(){return u.a}),n.d(t,"getUserLoyalty",function(){return g}),n.d(t,"getUserRecommendation",function(){return k}),n.d(t,"getItemRecommendation",function(){return S}),n.d(t,"getUserBlogPostsRecommendation",function(){return x}),n.d(t,"getUserViewsByCentral",function(){return _}),n.d(t,"getUserTagsInfo",function(){return U}),n.d(t,"getUserBlocksHome",function(){return O}),n.d(t,"isFirstUserAccess",function(){return P}),n.d(t,"getSubscription",function(){return j}),n.d(t,"addSubscription",function(){return C}),n.d(t,"getNewsFromSources",function(){return E}),/test|development/.test("production");var r,o=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},i=function(e){return e.replace(/^([^.]+\.){2}/,"")},a=function(){if("www.uol.com.br"===location.hostname&&"/"===location.pathname)return"home";try{if(window.universal_variable.aud.central)return window.universal_variable.aud.central;throw new Error("central não definida em universal_variable")}catch(e){return"undefined"}},u=n(0),l=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function u(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,u)}l((r=r.apply(e,t||[])).next())})},s=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}},c=("middleware",1==(!0===/duckslake-sdk=debug/.test(location.search))?console.log.bind(console,"[ducks-lake:middleware]"):function(){}),d=!0===/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&"www.uol.com.br"!==location.hostname?"https://"+location.hostname+((null===(r=window.Config)||void 0===r?void 0:r.servicename)||"/service/")+"index.htm?loadComponent=assets&contentType=html&tpl=assets/modules/duckslake-sdk/index.html&version="+u.a:"https://www.uol.com.br/service/index.htm?loadComponent=assets&contentType=html&tpl=assets/modules/duckslake-sdk/index.html&version="+u.a,f=function(e){var t=o(e.split("/").filter(function(e){return""!==e}),2);return t[0]+"//"+t[1]}(d),v=!1,m=document.createElement("iframe"),p=new Map,w=new Set,y=function(){var e=("_ga",o(document.cookie.split(";").map(function(e){return e.split("=")}).find(function(e){var t=o(e,1)[0];return"_ga"===(void 0===t?"":t).trim()})||[],2)[1]);return void 0!==e?{identified:!0,gaID:i(e)}:{identified:!1,gaID:null}},b=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return l(void 0,void 0,void 0,function(){var n;return s(this,function(r){switch(r.label){case 0:return"init"===e?[3,2]:[4,l(void 0,void 0,void 0,function(){return s(this,function(e){return!0===v?[2,Promise.resolve()]:[2,new Promise(function(e){w.add(e)})]})})];case 1:r.sent(),r.label=2;case 2:return n=p.size+1,[2,new Promise(function(r){p.set(n,r),m.contentWindow.postMessage({id:n,action:e,params:t},d)})]}})})}},h=function(){window.addEventListener("message",function(e){var t=e.origin,n=e.data,r=n.id,o=n.result;if(c("middleware recebeu mensagem do sdk",r,e.origin,e.data),t===f){var i=p.get(r);"function"==typeof i&&(p.set(r,null),i(o))}else c("descartando mensagem de origin que não é do SDK (recebido: "+t+" / esperado: "+f+")")},!1),m.onload=function(){return l(void 0,void 0,void 0,function(){var e,t,n;return s(this,function(r){switch(r.label){case 0:return[4,b("init")({actualUser:y(),centralKey:a(),mediaId:null===(n=null===(t=window.universal_variable)||void 0===t?void 0:t.aud)||void 0===n?void 0:n.mediaId,referrer:location.href})];case 1:return(e=r.sent()).metrics&&e.metrics.fidelity&&["sc","aud"].forEach(function(t){window.universal_variable=window.universal_variable||{},window.universal_variable[t]=window.universal_variable[t]||{},window.universal_variable[t].userFidelity=e.metrics.fidelity}),v=!0,function(){var e,t;try{for(var n=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(w),r=n.next();!r.done;r=n.next())(0,r.value)()}catch(t){e={error:t}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}}(),[2]}})})},m.name="duckslake-sdk",m.src=d,m.style.display="none",m.style.width="0",m.style.height="0",m.style.opacity="0",m.style.border="0",m.style.position="absolute",m.style.left="-9999px",m.setAttribute("width","0"),m.setAttribute("height","0"),m.setAttribute("sandbox","allow-scripts allow-same-origin"),m.setAttribute("referrerpolicy","no-referrer"),document.body.appendChild(m)},g=b("getUserLoyalty"),k=b("getUserRecommendation"),S=b("getItemRecommendation"),x=b("getUserBlogPostsRecommendation"),_=b("getUserViewsByCentral"),U=b("getUserTagsInfo"),O=b("getUserBlocksHome"),P=b("isFirstUserAccess"),j=b("getSubscription"),C=b("addSubscription"),E=b("getNewsFromSources");!function(){if("interactive"!=document.readyState){var e=function(){window.removeEventListener("DOMContentLoaded",e),h()};window.addEventListener("DOMContentLoaded",e)}else h()}()}]);   