1function socializer_addbookmark(e){var t=navigator.userAgent.toLowerCase(),s=-1!=t.indexOf("mac"),r="";e.preventDefault(),r=(s?"Command/Cmd":"CTRL")+" + D",alert("Press "+r+" to bookmark this page")}function socializer_shortlink(e,t,s){"function"==typeof e.preventDefault&&e.preventDefault();var r=t?t.getAttribute("href"):s;wpsr_helpers.open_popup("wpsr-short-link"),document.getElementById("wpsr-short-link-url").value=r}window.wpsr_helpers={addClass:function(e,t){e.classList?e.classList.add(t):e.className+=" "+t},removeClass:function(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")},popup_window:function(e,t,s,r){var n=screen.width/2-s/2,a=screen.height/2-r/2;return window.open(e,t,"toolbar=no,location=no,menubar=no,scrollbars=yes,width="+s+",height="+r+",top="+a+",left="+n)},offset:function(e){var t=e.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}},ajax:function(e,t,s,r,n){var a=new XMLHttpRequest;a.props=n,a.open(t,e,!0),"POST"==t&&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(e){if(e<1e3)return e;for(var t=["k","m","b","t"],s=e,r=0;r<t.length;r++)if(!((e/=1e3)>1e3)){s=Math.round(100*e)/100+t[r];break}return s},is_mobile:function(){return/Mobi|Android/i.test(navigator.userAgent)},open_popup:function(e){var t=document.getElementById(e);if(t){var s=this;this.removeClass(t,"wpsr-pp-closed"),this.addClass(t,"wpsr-pp-opened"),this.removeClass(t,"wpsr-pp-slide-up"),setTimeout(function(){s.addClass(t,"wpsr-pp-slide-down")},10)}},close_popup:function(e){var t=document.getElementById(e);if(t){var s=this;this.removeClass(t,"wpsr-pp-slide-down"),this.addClass(t,"wpsr-pp-slide-up"),setTimeout(function(){s.removeClass(t,"wpsr-pp-opened"),s.addClass(t,"wpsr-pp-closed")},250)}},copy:function(e){var t=document.createElement("textarea");t.value=e,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}},document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll(".socializer.sr-popup a");for(f=0;f<e.length;f++){var t=e[f];t.addEventListener("click",function(e){var t=this.getAttribute("href");"#"==t||this.hasAttribute("onclick")||null==t||wpsr_helpers.popup_window(t,"_blank",800,500),e.preventDefault()})}if(wpsr_helpers.is_mobile()){var s=document.querySelectorAll(".socializer a[data-mobile]");for(f=0;f<s.length;f++){var t=s[f],r=t.getAttribute("data-mobile");t.setAttribute("href",r)}}var n=document.querySelector(".wpsr-sharebar");if(n){var a=n.querySelector(".socializer");n.sm_action_call=function(e){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 i={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")},l=function(){var e="";return window.getSelection?e=window.getSelection().toString():document.selection&&"Control"!=document.selection.type&&(e=document.selection.createRange().text),e}
1,p=function(e,t){tsb.style.left=e+"px",tsb.style.top=t+"px",wpsr_helpers.addClass(tsb,"wpsr-tsb-active")},c=function(){wpsr_helpers.removeClass(tsb,"wpsr-tsb-active")},d=function(){var e=wpsr_tsb.stext,t=parseInt(i.word_count);return e=e.replace(/[^\x00-\x7F]/g,""),0==t?e:e.split(" ").slice(0,t).join(" ")},u=function(e){var t={"{title}":escape(i.ptitle),"{url}":i.purl,"{s-url}":i.psurl,"{twitter-username}":i.ptuname,"{excerpt}":escape(d())};for(var s in t)t.hasOwnProperty(s)&&(e=e.replace(RegExp(s,"g"),t[s]));return e};if(""!=i.cnt_sel)for(var h=i.cnt_sel.replace(/[\[\]<>"'\/\\=&%]/g,""),w=document.querySelectorAll(h),f=0;f<w.length;f++){var v=w[f];v.addEventListener("mousedown",function(e){wpsr_tsb.startx=e.pageX,wpsr_tsb.starty=e.pageY}),v.addEventListener("mouseup",function(e){var t=l();""!=t?(tsb_x=(e.pageX+parseInt(wpsr_tsb.startx))/2,tsb_y=Math.min(wpsr_tsb.starty,e.pageY),t!=wpsr_tsb.stext?(p(tsb_x,tsb_y),wpsr_tsb.stext=t):c()):c()})}document.body.addEventListener("mousedown",function(e){c()}),tsb.addEventListener("mousedown",function(e){e.stopPropagation()});for(var _=tsb.querySelectorAll("a"),f=0;f<_.length;f++){_[f].addEventListener("click",function(e){var t=this.getAttribute("data-link");"#"!=t&&(rep_link=u(t),wpsr_helpers.popup_window(rep_link,"_blank",800,500)),e.preventDefault()})}}var m=document.querySelectorAll(".wp-socializer");m.length>0&&["resize","load"].forEach(function(e){window.addEventListener(e,function(){for(var e=0;e<m.length;e++){var t=m[e],s=t.getAttribute("data-lg-action"),r=t.getAttribute("data-sm-action"),n=t.getAttribute("data-sm-width"),a=window.innerWidth<=n?r:s;"close"==a?wpsr_helpers.addClass(t,"wpsr-closed"):wpsr_helpers.removeClass(t,"wpsr-closed"),"hide"==a?wpsr_helpers.addClass(t,"wpsr-hide"):wpsr_helpers.removeClass(t,"wpsr-hide"),"function"==typeof t.sm_action_call&&a==r&&t.sm_action_call(),"function"==typeof t.lg_action_call&&a==s&&t.lg_action_call()}})});var b=document.querySelectorAll(".wpsr-close-btn");if(b.length>0)for(f=0;f<b.length;f++){var g=b[f];g.addEventListener("click",function(){var e=this.parentNode;e.classList.contains("wpsr-closed")?wpsr_helpers.removeClass(e,"wpsr-closed"):wpsr_helpers.addClass(e,"wpsr-closed")})}if("undefined"!=typeof wp_socializer){var y=document.querySelectorAll("[data-wpsrs]");if(y.length>0){var A={},k=wp_socializer.ajax_url+"?action=wpsr_share_count";for(f=0;f<y.length;f++){var C=y[f],x=C.getAttribute("data-wpsrs"),L=C.getAttribute("data-wpsrs-svcs").split(",");x in A||(A[x]=[]);for(j=0;j<L.length;j++)-1===A[x].indexOf(L[j])&&A[x].push(L[j])}var S=function(e){var t=JSON.parse(e.responseText),s=document.querySelectorAll('[data-wpsrs="'+e.props.forURL+'"]');for(f=0;f<s.length;f++){var r=s[f],n=r.getAttribute("data-wpsrs-svcs").split(","),a=0;for(j=0;j<n.length;j++){var o=n[j];o in t&&(a+=parseInt(t[o])||0)}a>0&&(r.innerHTML=wpsr_helpers.format_num(a))}};for(var x in A)A.hasOwnProperty(x)&&(send_data={url:x,services:A[x]},to_send="data="+JSON.stringify(send_data),wpsr_helpers.ajax(k,"POST",to_send,S,{forURL:x}))}}var E=document.querySelectorAll(".wpsr-pp-close");if(E.length>0)for(f=0;f<E.length;f++){var q=E[f];q.addEventListener("click",function(e){e.preventDefault();var t=this.getAttribute("data-id");wpsr_helpers.close_popup(t)})}window.wpsr_share_menu={set_data:function(e){try{this.data=JSON.parse(e)}catch(e){this.data={},console.log(e)}},get_param:function(e){var t={url:document.location.href,title:document.title,"short-url":document.location.href};return this.data=void 0===this.data?t:this.data,e in this.data?this.data[e]:e in t?t[e]:""},process_link:function(e){for(var t,s=/\{(.+?)\}/g;t=s.exec(e);){var r=this.get_param(t[1]);e=e.replaceAll("{"+t[1]+"}",encodeURI(r))}return e}};var z=document.querySelectorAll(".sr-share-menu a");if(z.length>0)for(f=0;f<z.length;f++){var T=z[f];T.addEventListener("click",function(){var e=this.getAttribute("data-metadata");wpsr_share_menu.set_data(e),wpsr_helpers.open_popup("wpsr-share-menu")})}var O=document.querySelectorAll(".wpsr-sm-link");if(O.length>0)for(f=0;f<O.length;f++){var D=O[f];D.addEventListener("click",function(e){e.preventDefault();var t=wpsr_helpers.is_mobile()&&this.getAttribute("data-m")?this.getAttribute("data-m"):this.getAttribute("data-d"),s=wpsr_share_menu.process_link(atob(t));if(this.classList.contains("wpsr-sml-shortlink"))return void socializer_shortlink(e,!1,s);0==s.indexOf("http")?wpsr_helpers.popup_window(s,"_blank",800,500):window.location.href=s})}var R=document.getElementById("wpsr-sl-copy-btn");R&&R.addEventListener("click",function(e){e.preventDefault(),wpsr_helpers.copy(document.getElementById("wpsr-short-link-url").value),this.innerText=this.getAttribute("data-d");var t=this;setTimeout(function(){t.innerText=t.getAttribute("data-c")},3e3)})});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.