!function(t){function e(t,e,n,u){var a=Date.now()+"-"+99999*Math.random();r[a]=n,d(function(){o.postMessage(JSON.stringify({id:a,a:t,d:e,v:u||!1}),i)})}function n(t){var e;-1!==i.indexOf(t.origin)&&"string"==typeof t.data&&"{"===t.data.trim().substr(0,1)&&(e=JSON.parse(t.data),e.id&&r[e.id]&&(r[e.id](e.data),delete r[e.id]))}var i="https://personalization.tombras.com",r={},o,d;!function(){function t(){n.getAttribute("loaded")&&(r.map(function(t){return t(),null}),r.length=0)}var e="tbpe_conduit",n=document.getElementById(e)||document.createElement("iframe"),r=[],u;n.parentNode||(n.onload=function(){n.setAttribute("loaded","true")},n.setAttribute("src",i+"/tbpe.html"),n.setAttribute("frameborder","0"),n.setAttribute("scrolling","no"),n.setAttribute("style","position: absolute; visibility: hidden; display: none; width: 0px; height: 0px; padding: 0px; border: none;"),document.body.insertBefore(n,document.body.firstChild)),o=n.contentWindow,d=function(e){n.getAttribute("loaded")?(e(),clearInterval(u),t()):r.push(e)},u=setInterval(t,100)}(),window.addEventListener("message",n,!1),window[t]=window[t]||function(t){var n={uuid:function(t){e("get","uuid",t)}};return function(e){return{get:function(t){return n[t]},set:function(t){return n[t+"-set"]}}[t](e)}}}("_tbpe");