if("object"!=typeof __lo)var __lo={head:document.getElementsByTagName("head")[0]||document.documentElement,body:document.body,supportSplitWithCapturingParentheses:"b"==="abc".split(/(b)/)[1],inputBuffer:[],defaultObj:{timeout:3e3},extend:function(t,e){if(!e)return t;for(var n=Object.keys(e),o=0;o<n.length;o++)t[n[o]]=e[n[o]];return t},loadScript:function(t){var e=__lo.extend({src:t},__lo.defaultObj);__lo.insertScript(e)},insertScript:function(t){var e=document.createElement("script");t.type&&(e.type=t.type),t.charset&&(e.charset=t.charset),t.language&&(e.language=t.language);var n=!1;e.onload=e.onreadystatechange=function(){n||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(n=!0,e.onload=e.onreadystatechange=null,__lo.flush())},e.src=t.src,__lo.head.insertBefore(e,__lo.head.firstChild)},flush:function(){var t=/(<script[\s\S]*?<\/script>)/gim,e=__lo.stripNoScript(__lo.inputBuffer.join(""));__lo.inputBuffer=[],e=e.replace(/document\.write(ln)?/gi,"__lo.inputBuffer.push");for(var n=__lo.split(e,t),o=0;o<n.length;o++)__lo.writeHtml(n[o])},writeHtml:function(t){if(__lo.isScript(t)){var e=document.createElement("div");e.innerHTML="dummy<div>"+t+"</div>";var n=e.children[0].children[0],o=n.getAttribute("language")||"javascript",r=__lo.extend({},__lo.defaultObj);if(n.src)r.src=n.src,r.charset=n.charset,r.language=o,r.type=n.type,__lo.insertScript(r);else{var i=__lo.trim(n.text);i&&__lo.globalEval(i,o),__lo.flush(r)}}else if(t=__lo.trim(t)){var a=document.createElement("div");for(a.innerHTML=t;a.children.length>0;)__lo.body.appendChild(a.children[0])}},isScript:function(t){return 0===t.toLowerCase().indexOf("<script")},globalEval:function(t){return t.execScript?function(e,n){t.execScript(e,n||"JavaScript")}:function(e,n){n&&!/^javascript/i.test(n)||t.eval.call(t,e)}}(window),trim:function(t){return t?t.replace(/^\s*|\s*$/gi,""):t},split:function(t,e){var n,o,r,i,a=0,c=[];if(__lo.supportSplitWithCapturingParentheses)o=t.split(e);else{for(o=[];n=e.exec(t);)n.index>a&&c.push(t.slice(a,n.index)),n.length>1&&n.index<t.length&&Array.prototype.push.apply(o,n.slice(1)),a=e.lastIndex;a<t.length&&o.push(t.slice(a))}for(r=0,i=o.length;r<i;r++)""!==o[r]&&c.push(o[r]);return c},stripNoScript:function(t){return t.replace(/<noscript>[\s\S]*?<\/noscript>/gi,"")}};if("object"!=typeof bxurl)var bxurl={_fixedEncodeURIComponent:function(t){return encodeURIComponent(t).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16)})},http_build_query:function(t,e,n){var o,r=[],i=this,a=function(t,e){return e===!0?e="1":e===!1&&(e="0"),null!==e&&"undefined"!=typeof e&&"function"!=typeof e&&"object"!=typeof e?i._fixedEncodeURIComponent(t)+"="+i._fixedEncodeURIComponent(e):""};n||(n="&");for(var c=Object.keys(t),l=0;l<c.length;l++){o=t[c[l]],e&&!isNaN(c[l])&&(c[l]=String(e)+c[l]);var u=a(c[l],o,n);""!==u&&r.push(u)}return r.join(n)},loadJS:function(t){var e=document.createElement("script"),n=document.getElementsByTagName("script")[0];e.type="text/javascript",e.async=!0,e.src=t,n.parentNode.insertBefore(e,n)}};if(window._logbor_c=window._logbor_c||{getWindowDocuments:function(){var t=[].slice.call(document.querySelectorAll("iframe")),e=[];return t.forEach(function(t){try{e.push(t.contentWindow.document)}catch(t){e.push(null)}}),e=e.filter(function(t){return null!==t}),[window.document].concat(e)},addEventToDOMLoaded:function(){var t=arguments[0],e=arguments,n=_logbor_c.getWindowDocuments();n.forEach(function(n){e[0]=n,"complete"===n.readyState?t.apply(null,e):n.addEventListener?n.addEventListener("DOMContentLoaded",function(){t.apply(null,e)},!1):n.attachEvent&&n.attachEvent("onDOMContentLoaded",function(){t.apply(null,e)})})},addEventToDOMModified:function(t){var e=arguments,n=_logbor_c.getWindowDocuments();n.forEach(function(n){n.addEventListener("DOMNodeInserted",function(){var o=n;e[0]=o,t.apply(null,e)},!1),n.addEventListener("DOMNodeRemoved",function(){var o=n;e[0]=o,t.apply(null,e)},!1)})},invokeTag:function(t,e,n){var o=document.location.protocol+"//"+t.host+"/"+t.action,r=bxurl.http_build_query(e);n?__lo.loadScript(o+"?"+r):bxurl.loadJS(o+"?"+r)}},"object"!=typeof coo)var coo={readCookie:function(){for(var t="__bx=",e=document.cookie.split(";"),n=0;n<e.length;n++){for(var o=e[n];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(t))return o.substring(t.length,o.length)}return null},writeCookie:function(t){var e=new Date;e.setTime(e.getTime()+31536e6);var n="; expires="+e.toGMTString();document.cookie="__bx="+t+n+"; path=/"},readLocalStorage:function(){return this.testStorage()!==!1&&localStorage.getItem("__bx")},writeLocalStorage:function(t){this.testStorage()!==!1&&localStorage.setItem("__bx",t)},testStorage:function(){try{return!!localStorage.getItem}catch(t){return!1}},getUserId:function(t){var e=this.readCookie(),n=this.readLocalStorage();if(null==e&&null==n)return this.setUserId(t),t;var o=null;return null==e&&null!=n?(this.writeCookie(n),o=n):null!=e&&null==n?(this.writeLocalStorage(e),o=e):null!=e&&null!=n&&(o=e),o},setUserId:function(t){this.writeCookie(t),this.writeLocalStorage(t)}};var __dot=window.__dot||[];!function(t,e,n){function o(t){t&&t.event?r._sendEvent(t.event):(r._store(t),r._send("d"))}if(t.isInit!==!0){var r={isInit:!1,_datas:{},init:function(){if(this.isInit===!1){this.isInit=!0;for(var e=0;e<t.length;e++)this._store(t[e]);this._send("tcs")}},_store:function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)"Your data here"!==t[e[n]]&&(this._datas[encodeURIComponent("d_"+e[n])]=encodeURIComponent(t[e[n]]))},_send:function(t){for(var o={host:n,action:t},r={cxid:e,cu:encodeURI(document.location.href)},i=Object.keys(this._datas),a=0;a<i.length;a++)r[i[a]]=this._datas[i[a]];_logbor_c.invokeTag(o,r,!0),this._datas={}},_sendEvent:function(t){var o={host:n,action:"tcs"},r={cxid:e,cu:"event:"+t};_logbor_c.invokeTag(o,r,!0)}};t.push=o,t.shift=o}r.init()}(__dot,"2679","u.logbor.com");