   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.2.0"}')},function(e,t,n){"use strict";n.r(t),n.d(t,"version",function(){return a.a}),n.d(t,"getUserLoyalty",function(){return h}),n.d(t,"getUserRecommendation",function(){return g}),n.d(t,"getItemRecommendation",function(){return k}),n.d(t,"getUserViewsByCentral",function(){return x}),n.d(t,"getUserTagsInfo",function(){return S}),n.d(t,"getUserBlocksHome",function(){return _}),n.d(t,"isFirstUserAccess",function(){return U}),n.d(t,"getSubscription",function(){return O}),n.d(t,"addSubscription",function(){return P}),/test|development/.test("production");var r=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},o=function(e){return e.replace(/^([^.]+\.){2}/,"")},i=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"}},a=n(0),u=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())})},l=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])}}},s=("middleware",1==(!0===/duckslake-sdk=debug/.test(location.search))?console.log.bind(console,"[ducks-lake:middleware]"):function(){}),c=!0===/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&"www.uol.com.br"!==location.hostname?"https://"+location.hostname+window.Config.servicename+"index.htm?loadComponent=assets&contentType=html&tpl=assets/modules/duckslake-sdk/index.html&version="+a.a:"https://www.uol.com.br/service/index.htm?loadComponent=assets&contentType=html&tpl=assets/modules/duckslake-sdk/index.html&version="+a.a,d=function(e){var t=r(e.split("/").filter(function(e){return""!==e}),2);return t[0]+"//"+t[1]}(c),f=!1,v=document.createElement("iframe"),m=new Map,p=new Set,y=function(){var e=("_ga",r(document.cookie.split(";").map(function(e){return e.split("=")}).find(function(e){var t=r(e,1)[0];return"_ga"===(void 0===t?"":t).trim()})||[],2)[1]);return void 0!==e?{identified:!0,gaID:o(e)}:{identified:!1,gaID:null}},w=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return u(void 0,void 0,void 0,function(){var n;return l(this,function(r){switch(r.label){case 0:return"init"===e?[3,2]:[4,u(void 0,void 0,void 0,function(){return l(this,function(e){return!0===f?[2,Promise.resolve()]:[2,new Promise(function(e){p.add(e)})]})})];case 1:r.sent(),r.label=2;case 2:return n=m.size,[2,new Promise(function(r){m.set(n,r),v.contentWindow.postMessage({id:n,action:e,params:t},c)})]}})})}},b=function(){window.addEventListener("message",function(e){var t=e.origin,n=e.data,r=n.id,o=n.result;if(s("middleware recebeu mensagem do sdk",e.origin,e.data),t===d){var i=m.get(r);"function"==typeof i&&(m.delete(r),i(o))}else s("descartando mensagem de origin que não é do SDK (recebido: "+t+" / esperado: "+d+")")},!1),v.onload=function(){return u(void 0,void 0,void 0,function(){var e;return l(this,function(t){switch(t.label){case 0:return[4,w("init")(y(),i(),location.href)];case 1:return(e=t.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}),f=!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.")}(p),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]}})})},v.name="duckslake-sdk",v.src=c,v.style.display="none",v.style.width="0",v.style.height="0",v.style.opacity="0",v.style.border="0",v.style.position="absolute",v.style.left="-9999px",v.setAttribute("width","0"),v.setAttribute("height","0"),v.setAttribute("sandbox","allow-scripts allow-same-origin"),v.setAttribute("referrerpolicy","no-referrer"),document.body.appendChild(v)},h=w("getUserLoyalty"),g=w("getUserRecommendation"),k=w("getItemRecommendation"),x=w("getUserViewsByCentral"),S=w("getUserTagsInfo"),_=w("getUserBlocksHome"),U=w("isFirstUserAccess"),O=w("getSubscription"),P=w("addSubscription");!function(){if("interactive"!=document.readyState){var e=function(){window.removeEventListener("DOMContentLoaded",e),b()};window.addEventListener("DOMContentLoaded",e)}else b()}()}]);   